Use --force when installing the VSIX.

This commit is contained in:
DJMcNab 2019-01-12 15:00:03 +00:00
parent e9e397e705
commit c38432c0bd

View file

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