From 8ca4a2f21f65800460a69c8f1629e9709b9c0d67 Mon Sep 17 00:00:00 2001 From: Georg Schwarz Date: Wed, 23 Oct 2024 12:09:57 +0200 Subject: [PATCH 1/2] Use relative path for workdir instead of absolute path --- apps/interpreter/src/run-action.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/interpreter/src/run-action.ts b/apps/interpreter/src/run-action.ts index ad4d718d..26459ee5 100644 --- a/apps/interpreter/src/run-action.ts +++ b/apps/interpreter/src/run-action.ts @@ -35,7 +35,6 @@ export async function runAction( } const currentDir = process.cwd(); - const workingDir = currentDir; const filePathRelativeToCurrentDir = path.relative(currentDir, filePath); const interpreter = new DefaultJayveeInterpreter({ @@ -45,7 +44,7 @@ export async function runAction( debug: options.debug, debugGranularity: options.debugGranularity, debugTarget: options.debugTarget, - }).addWorkspace(workingDir); + }).addWorkspace('.'); if (options.parseOnly === true) { return await runParseOnly(filePathRelativeToCurrentDir, interpreter); From 7f293e98b0b6ec18ab2b6ee32ff7d9d3a246571f Mon Sep 17 00:00:00 2001 From: Georg Schwarz Date: Wed, 23 Oct 2024 12:10:12 +0200 Subject: [PATCH 2/2] Bump version to 0.6.3 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 187de8da..18b1969b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "jayvee", - "version": "0.6.2", + "version": "0.6.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "jayvee", - "version": "0.6.2", + "version": "0.6.3", "dependencies": { "@docusaurus/core": "2.4.1", "@docusaurus/preset-classic": "2.4.1", diff --git a/package.json b/package.json index 433944b1..6a40d83c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jayvee", - "version": "0.6.2", + "version": "0.6.3", "scripts": { "nx": "nx", "format": "nx format:write",