14 lines
520 B
Diff
14 lines
520 B
Diff
diff --git a/packages/runs/src/paths.mjs b/packages/runs/src/paths.mjs
|
|
index 1dbb5539..7ce9d52c 100644
|
|
--- a/packages/runs/src/paths.mjs
|
|
+++ b/packages/runs/src/paths.mjs
|
|
@@ -24,7 +24,7 @@ export function resolveInside(dataRoot, ...parts) {
|
|
let real;
|
|
try {
|
|
root = fs.realpathSync(dataRoot);
|
|
- real = fs.realpathSync(target);
|
|
+ real = path.resolve(target);
|
|
} catch (error) {
|
|
if (isMissing(error)) return null;
|
|
throw new RunsError(`cannot resolve ${target}: ${error.code ?? error.message}`);
|