From 4dcef5b8dff9067f0a6fcf89aa14addfe1d1550d Mon Sep 17 00:00:00 2001 From: maxcottel24 <107123008+maxcottel24@users.noreply.github.com> Date: Mon, 10 Feb 2025 10:29:02 +0100 Subject: [PATCH 1/2] Update index.ts --- auto-inspector/src/interfaces/cli/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auto-inspector/src/interfaces/cli/index.ts b/auto-inspector/src/interfaces/cli/index.ts index a03eba5..ca734fe 100644 --- a/auto-inspector/src/interfaces/cli/index.ts +++ b/auto-inspector/src/interfaces/cli/index.ts @@ -2,10 +2,11 @@ import { Command } from "commander"; import { startTest } from "./commands/index"; +import { version } from "./package.json"; const program = new Command(); -program.version("1.0.0").description("Magic Inspector API CLI"); +program.version(version).description("Magic Inspector API CLI"); program.addCommand(startTest); From 25cd5e2ffc6e0f10be9071ec719129402fb78a69 Mon Sep 17 00:00:00 2001 From: maxcottel24 <107123008+maxcottel24@users.noreply.github.com> Date: Mon, 10 Feb 2025 14:38:11 +0100 Subject: [PATCH 2/2] Update index.ts fixed the path to package.json --- auto-inspector/src/interfaces/cli/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto-inspector/src/interfaces/cli/index.ts b/auto-inspector/src/interfaces/cli/index.ts index ca734fe..fa68f1a 100644 --- a/auto-inspector/src/interfaces/cli/index.ts +++ b/auto-inspector/src/interfaces/cli/index.ts @@ -2,7 +2,7 @@ import { Command } from "commander"; import { startTest } from "./commands/index"; -import { version } from "./package.json"; +import { version } from "../../../package.json"; const program = new Command();