Resolve inventory workspace from checkout
Dependency Audit / dependency-audit (push) Successful in 1m37s
Deployment Installer / deployment-installer (push) Successful in 6s
Security Audit / security-audit (push) Successful in 10m1s

This commit is contained in:
2026-08-03 00:51:20 +02:00
parent 4f08b52333
commit 29acb55b7c
+7 -1
View File
@@ -13,7 +13,13 @@ const metaRoot = path.resolve(metaRootArgument);
const repositoryCatalog = JSON.parse( const repositoryCatalog = JSON.parse(
fs.readFileSync(path.join(metaRoot, "repositories.json"), "utf8") fs.readFileSync(path.join(metaRoot, "repositories.json"), "utf8")
); );
const workspaceRoot = path.resolve(repositoryCatalog.default_parent); const siblingWorkspaceRoot = path.dirname(metaRoot);
const configuredWorkspaceRoot = path.resolve(repositoryCatalog.default_parent);
const workspaceRoot = fs.existsSync(
path.join(siblingWorkspaceRoot, "govoplan-core", "webui")
)
? siblingWorkspaceRoot
: configuredWorkspaceRoot;
const typescriptPath = path.join( const typescriptPath = path.join(
workspaceRoot, workspaceRoot,
"govoplan-core", "govoplan-core",