Skip to content

Commit c4601f3

Browse files
committed
bring rust launcher to parity with quarto script
1 parent e88dfad commit c4601f3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

package/launcher/src/main.rs

+3-5
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ fn main() {
2424

2525
// some other file paths
2626
let js_file = bin_dir.join(Path::new("quarto.js"));
27-
let importmap_file = bin_dir.join("vendor").join("import_map.json");
2827

2928
// get command line args (skip first which is the program)
3029
let args: Vec<OsString> = env::args_os().skip(1).collect();
@@ -82,14 +81,15 @@ fn main() {
8281

8382
// Define the base deno options
8483
let mut deno_options: Vec<String> = vec![
85-
String::from("--unstable-kv"),
8684
String::from("--unstable-ffi"),
85+
String::from("--unstable-kv"),
8786
String::from("--no-config"),
88-
String::from("--cached-only"),
8987
String::from("--no-lock"),
88+
String::from("--cached-only"),
9089
// Using --allow-all as there is otherwise an issue in Deno 1.46.3 with --allow-read and --allow-write with network drives
9190
// https://github.com/quarto-dev/quarto-cli/issues/11332
9291
String::from("--allow-all"),
92+
String::from("--no-check"),
9393
];
9494

9595
// # --enable-experimental-regexp-engine is required for /regex/l, https://github.com/quarto-dev/quarto-cli/issues/9737
@@ -107,8 +107,6 @@ fn main() {
107107
let mut child = Command::new(&deno_file)
108108
.arg("run")
109109
.args(deno_options)
110-
.arg("--importmap")
111-
.arg(importmap_file)
112110
.arg(js_file)
113111
.args(args)
114112
.spawn()

0 commit comments

Comments
 (0)