Disable sandbox for bundle command too temporarily
This is a temporary workaround to fix the issue where the bundle command fails to create ~/.carton directory when it's outdated or missing. We don't need to create .carton directory anymore ideally, but it requires several refactoring to remove it completely Thus, we disable the sandbox for now.
This commit is contained in:
parent
fbcfb1191a
commit
aef04d7214
|
@ -89,7 +89,10 @@ func derivePackageCommandArguments(
|
|||
|
||||
switch subcommand {
|
||||
case "bundle":
|
||||
pluginArguments += ["--allow-writing-to-package-directory"]
|
||||
packageArguments += ["--disable-sandbox"]
|
||||
// TODO: Uncomment this line once we stop creating .carton directory in the home directory
|
||||
// pluginArguments += ["--allow-writing-to-package-directory"]
|
||||
|
||||
// Place before user-given extra arguments to allow overriding default options
|
||||
cartonPluginArguments = ["--output", "Bundle"] + cartonPluginArguments
|
||||
case "dev":
|
||||
|
|
Loading…
Reference in New Issue