mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-14 14:25:12 +00:00
Use --force when installing the VSIX.
This commit is contained in:
parent
e9e397e705
commit
c38432c0bd
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||||
)?;
|
)?;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue