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() 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