aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorDJMcNab <[email protected]>2019-01-12 15:00:03 +0000
committerDJMcNab <[email protected]>2019-01-12 15:00:03 +0000
commitc38432c0bd7e875b51e6ea04b156babe87911be7 (patch)
tree8dbcb05d694b54714a2ed815793a6435213f11de /crates
parente9e397e705ad0bec9775067b10109e35ebefc493 (diff)
Use --force when installing the VSIX.
Diffstat (limited to 'crates')
-rw-r--r--crates/tools/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/tools/src/main.rs b/crates/tools/src/main.rs
index 9d73d57c4..5597aae5a 100644
--- a/crates/tools/src/main.rs
+++ b/crates/tools/src/main.rs
@@ -158,12 +158,12 @@ fn install_code_extension() -> Result<()> {
158 } 158 }
159 if cfg!(windows) { 159 if cfg!(windows) {
160 run( 160 run(
161 r"cmd.exe /c code.cmd --install-extension ./ra-lsp-0.0.1.vsix", 161 r"cmd.exe /c code.cmd --install-extension ./ra-lsp-0.0.1.vsix --force",
162 "./editors/code", 162 "./editors/code",
163 )?; 163 )?;
164 } else { 164 } else {
165 run( 165 run(
166 r"code --install-extension ./ra-lsp-0.0.1.vsix", 166 r"code --install-extension ./ra-lsp-0.0.1.vsix --force",
167 "./editors/code", 167 "./editors/code",
168 )?; 168 )?;
169 } 169 }