Skip to content

Commit

Permalink
fix: Allow run git for Deno (#2790)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbouv committed Dec 6, 2023
1 parent abb50fa commit d822beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/windmill-worker/src/deno_executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ pub async fn generate_deno_lock(
.args(vec![
"cache",
"--unstable",
"--allow-run='git'", // TODO: make this configurable from an env variable when needed
"--lock=lock.json",
"--lock-write",
"--import-map",
Expand Down Expand Up @@ -289,6 +288,7 @@ run().catch(async (e) => {{
args.push("--allow-read=./,/tmp/windmill/cache/deno/");
args.push("--allow-write=./");
args.push("--allow-env");
args.push("--allow-run='git'");
} else {
args.push("-A");
}
Expand Down

0 comments on commit d822beb

Please sign in to comment.