mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 21:28:51 +00:00
Switch back to npm install
Locks like it honors package.lock nowdays
This commit is contained in:
parent
9712889ee4
commit
1836671d53
1 changed files with 2 additions and 1 deletions
|
@ -182,7 +182,8 @@ fn install_client(ClientOpt::VsCode: ClientOpt) -> Result<()> {
|
||||||
eprintln!("\nERROR: `npm --version` failed, `npm` is required to build the VS Code plugin")
|
eprintln!("\nERROR: `npm --version` failed, `npm` is required to build the VS Code plugin")
|
||||||
}
|
}
|
||||||
|
|
||||||
Cmd { unix: r"npm ci", windows: r"cmd.exe /c npm ci", work_dir: "./editors/code" }.run()?;
|
Cmd { unix: r"npm install", windows: r"cmd.exe /c npm install", work_dir: "./editors/code" }
|
||||||
|
.run()?;
|
||||||
Cmd {
|
Cmd {
|
||||||
unix: r"npm run package --scripts-prepend-node-path",
|
unix: r"npm run package --scripts-prepend-node-path",
|
||||||
windows: r"cmd.exe /c npm run package",
|
windows: r"cmd.exe /c npm run package",
|
||||||
|
|
Loading…
Reference in a new issue