Use --force when installing the VSIX.

This commit is contained in:
DJMcNab 2019-01-12 15:00:03 +00:00
parent e9e397e705
commit c38432c0bd
1 changed files with 2 additions and 2 deletions

View File

@ -158,12 +158,12 @@ fn install_code_extension() -> Result<()> {
}
if cfg!(windows) {
run(
r"cmd.exe /c code.cmd --install-extension ./ra-lsp-0.0.1.vsix",
r"cmd.exe /c code.cmd --install-extension ./ra-lsp-0.0.1.vsix --force",
"./editors/code",
)?;
} else {
run(
r"code --install-extension ./ra-lsp-0.0.1.vsix",
r"code --install-extension ./ra-lsp-0.0.1.vsix --force",
"./editors/code",
)?;
}