mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-22 20:53:37 +00:00
Use --force when installing the VSIX.
This commit is contained in:
parent
e9e397e705
commit
c38432c0bd
@ -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",
|
||||
)?;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user