Skip to content

Commit

Permalink
Remove npm.cmd
Browse files Browse the repository at this point in the history
I *think* this is more correct
  • Loading branch information
matklad committed Nov 20, 2019
1 parent a025303 commit ad2b6ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ fn fix_path_for_mac() -> Result<()> {
fn install_client(ClientOpt::VsCode: ClientOpt) -> Result<()> {
let npm_version = Cmd {
unix: r"npm --version",
windows: r"cmd.exe /c npm.cmd --version",
windows: r"cmd.exe /c npm --version",
work_dir: "./editors/code",
}
.run();
Expand All @@ -182,10 +182,10 @@ fn install_client(ClientOpt::VsCode: ClientOpt) -> Result<()> {
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.cmd ci", work_dir: "./editors/code" }.run()?;
Cmd { unix: r"npm ci", windows: r"cmd.exe /c npm ci", work_dir: "./editors/code" }.run()?;
Cmd {
unix: r"npm run package --scripts-prepend-node-path",
windows: r"cmd.exe /c npm.cmd run package",
windows: r"cmd.exe /c npm run package",
work_dir: "./editors/code",
}
.run()?;
Expand Down

0 comments on commit ad2b6ca

Please sign in to comment.