diff options
Diffstat (limited to 'crates/tools/src')
-rw-r--r-- | crates/tools/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/tools/src/main.rs b/crates/tools/src/main.rs index 5597aae5a..d6eabce6c 100644 --- a/crates/tools/src/main.rs +++ b/crates/tools/src/main.rs | |||
@@ -150,10 +150,10 @@ fn existing_tests(dir: &Path, ok: bool) -> Result<HashMap<String, (PathBuf, Test | |||
150 | fn install_code_extension() -> Result<()> { | 150 | fn install_code_extension() -> Result<()> { |
151 | run("cargo install --path crates/ra_lsp_server --force", ".")?; | 151 | run("cargo install --path crates/ra_lsp_server --force", ".")?; |
152 | if cfg!(windows) { | 152 | if cfg!(windows) { |
153 | run(r"cmd.exe /c npm.cmd install", "./editors/code")?; | 153 | run(r"cmd.exe /c npm.cmd ci", "./editors/code")?; |
154 | run(r"cmd.exe /c npm.cmd run package", "./editors/code")?; | 154 | run(r"cmd.exe /c npm.cmd run package", "./editors/code")?; |
155 | } else { | 155 | } else { |
156 | run(r"npm install", "./editors/code")?; | 156 | run(r"npm ci", "./editors/code")?; |
157 | run(r"npm run package", "./editors/code")?; | 157 | run(r"npm run package", "./editors/code")?; |
158 | } | 158 | } |
159 | if cfg!(windows) { | 159 | if cfg!(windows) { |