From 1836671d53213e5a1f3cab47fe95e8f6333f2e0f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 2 Dec 2019 15:17:55 +0100 Subject: Switch back to npm install Locks like it honors package.lock nowdays --- xtask/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xtask/src') diff --git a/xtask/src/main.rs b/xtask/src/main.rs index c97bfec97..c52902bb5 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -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") } - 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 { unix: r"npm run package --scripts-prepend-node-path", windows: r"cmd.exe /c npm run package", -- cgit v1.2.3