aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
Diffstat (limited to 'xtask')
-rw-r--r--xtask/src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/xtask/src/main.rs b/xtask/src/main.rs
index 4b1f0c887..c97bfec97 100644
--- a/xtask/src/main.rs
+++ b/xtask/src/main.rs
@@ -173,7 +173,7 @@ fn fix_path_for_mac() -> Result<()> {
173fn install_client(ClientOpt::VsCode: ClientOpt) -> Result<()> { 173fn install_client(ClientOpt::VsCode: ClientOpt) -> Result<()> {
174 let npm_version = Cmd { 174 let npm_version = Cmd {
175 unix: r"npm --version", 175 unix: r"npm --version",
176 windows: r"cmd.exe /c npm.cmd --version", 176 windows: r"cmd.exe /c npm --version",
177 work_dir: "./editors/code", 177 work_dir: "./editors/code",
178 } 178 }
179 .run(); 179 .run();
@@ -182,10 +182,10 @@ fn install_client(ClientOpt::VsCode: ClientOpt) -> Result<()> {
182 eprintln!("\nERROR: `npm --version` failed, `npm` is required to build the VS Code plugin") 182 eprintln!("\nERROR: `npm --version` failed, `npm` is required to build the VS Code plugin")
183 } 183 }
184 184
185 Cmd { unix: r"npm ci", windows: r"cmd.exe /c npm.cmd ci", work_dir: "./editors/code" }.run()?; 185 Cmd { unix: r"npm ci", windows: r"cmd.exe /c npm ci", work_dir: "./editors/code" }.run()?;
186 Cmd { 186 Cmd {
187 unix: r"npm run package --scripts-prepend-node-path", 187 unix: r"npm run package --scripts-prepend-node-path",
188 windows: r"cmd.exe /c npm.cmd run package", 188 windows: r"cmd.exe /c npm run package",
189 work_dir: "./editors/code", 189 work_dir: "./editors/code",
190 } 190 }
191 .run()?; 191 .run()?;