diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-12 15:09:33 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-12 15:09:33 +0000 |
commit | 52ec6edf552d6b389af04649227fdea773e25138 (patch) | |
tree | 8dbcb05d694b54714a2ed815793a6435213f11de /crates/tools/src | |
parent | e9e397e705ad0bec9775067b10109e35ebefc493 (diff) | |
parent | c38432c0bd7e875b51e6ea04b156babe87911be7 (diff) |
Merge #506
506: Use --force when installing the VSIX. r=DJMcNab a=DJMcNab
This might fix the extension installation, or it might not.
https://github.com/Microsoft/vscode/issues/65897#issuecomment-451749900 says we need to increase the version on every install, but I can't work out why exactly.
@egamma, can you give us some more insight?
bors r+ - It can't do any harm anyway :).
Co-authored-by: DJMcNab <[email protected]>
Diffstat (limited to 'crates/tools/src')
-rw-r--r-- | crates/tools/src/main.rs | 4 |
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 | } |