From e3e61ae22f837c12a36851ec940532acab4b576a Mon Sep 17 00:00:00 2001 From: Etienne Noel Date: Fri, 28 Jun 2024 13:59:07 -0700 Subject: [PATCH 1/2] - Update --- packages/cli/src/managers/shell.manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/managers/shell.manager.ts b/packages/cli/src/managers/shell.manager.ts index 4fd10bc4..b950d144 100644 --- a/packages/cli/src/managers/shell.manager.ts +++ b/packages/cli/src/managers/shell.manager.ts @@ -1,7 +1,7 @@ import {exec, spawn} from "child_process"; import {ConsoleManager} from "./console.manager"; import {injectable} from "tsyringe"; -import {PathManager} from "./path.manager"; +import {PathManager} from "@pristine-ts/core"; import {DateUtil} from "@pristine-ts/common" @injectable() From 1ef8ff2c8cf457f2caf2bccc77283e5230b44089 Mon Sep 17 00:00:00 2001 From: Etienne Noel Date: Fri, 28 Jun 2024 14:04:28 -0700 Subject: [PATCH 2/2] - Update. --- packages/core/src/managers/path.manager.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/managers/path.manager.spec.ts b/packages/core/src/managers/path.manager.spec.ts index 6fea65b1..cdc9d1dc 100644 --- a/packages/core/src/managers/path.manager.spec.ts +++ b/packages/core/src/managers/path.manager.spec.ts @@ -11,7 +11,7 @@ describe("Path Manager", () => { const pathParts = path.split("/").reverse(); expect(pathParts[0]).toBe("allo") - expect(pathParts[1]).toBe("cli") + expect(pathParts[1]).toBe("core") expect(pathParts[2]).toBe("packages") }) @@ -23,7 +23,7 @@ describe("Path Manager", () => { const pathParts = path.split("/").reverse(); expect(pathParts[0]).toBe("allo") - expect(pathParts[1]).toBe("cli") + expect(pathParts[1]).toBe("core") expect(pathParts[2]).toBe("packages") }) @@ -42,7 +42,7 @@ describe("Path Manager", () => { expect(pathParts[0]).toBe("test.txt") expect(pathParts[1]).toBe("allo") - expect(pathParts[2]).toBe("cli") + expect(pathParts[2]).toBe("core") expect(pathParts[3]).toBe("packages") }) }) \ No newline at end of file