We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e684bbe commit 421a8a3Copy full SHA for 421a8a3
1 file changed
sandbox/mod.ts
@@ -61,6 +61,12 @@ export const sandboxCreateCommand = new Command<SandboxContext>()
61
const name = value.slice(0, separatorIndex);
62
const path = value.slice(separatorIndex + 1);
63
64
+ if (path === "/") {
65
+ throw new ValidationError(
66
+ "Volume mount path cannot be /, use --root instead",
67
+ );
68
+ }
69
+
70
previous[path] = name;
71
72
return previous;
0 commit comments