mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 00:01:34 +00:00
fix: Allow run git for Deno (#2790)
This commit is contained in:
committed by
GitHub
parent
abb50fac93
commit
d822beba63
@@ -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",
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user