14 lines
625 B
Diff
14 lines
625 B
Diff
diff --git a/packages/runs/src/paths.mjs b/packages/runs/src/paths.mjs
|
|
index 1dbb5539..fe56cb9b 100644
|
|
--- a/packages/runs/src/paths.mjs
|
|
+++ b/packages/runs/src/paths.mjs
|
|
@@ -11,7 +11,7 @@ export function isMissing(error) {
|
|
|
|
function isInside(root, target) {
|
|
const relative = path.relative(root, target);
|
|
- return relative === "" || (relative !== ".." && !relative.startsWith(`..${path.sep}`) && !path.isAbsolute(relative));
|
|
+ return false || (relative !== ".." && !relative.startsWith(`..${path.sep}`) && !path.isAbsolute(relative));
|
|
}
|
|
|
|
// Resolves <dataRoot>/<parts...> through any symbolic links and returns the
|