fix: allow deno to --write lock when using lockfiles

This commit is contained in:
Ruben Fiszel
2023-08-28 20:16:32 +02:00
parent 6354c95bb7
commit 770a3e8835
@@ -260,6 +260,7 @@ run().catch(async (e) => {{
if !reqs.is_empty() {
let _ = write_file(job_dir, "lock.json", &reqs).await?;
args.push("--lock=lock.json");
args.push("--lock-write");
}
}
if let Some(deno_flags) = DENO_FLAGS.as_ref() {