aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/main.ts
diff options
context:
space:
mode:
authorLaurenČ›iu Nicola <[email protected]>2021-01-25 17:12:54 +0000
committerLaurenČ›iu Nicola <[email protected]>2021-01-25 17:12:54 +0000
commit03a1da9d469be92a0ec34c8673293811694b8449 (patch)
tree1cb74f086e72d3d1e84d37c942fb2629fd7a8bab /editors/code/src/main.ts
parent2c735ed734be9b9041921478e0049fffd7160f78 (diff)
Simplify file download code
Diffstat (limited to 'editors/code/src/main.ts')
-rw-r--r--editors/code/src/main.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts
index 1edb7713d..1900d900a 100644
--- a/editors/code/src/main.ts
+++ b/editors/code/src/main.ts
@@ -208,7 +208,6 @@ async function bootstrapExtension(config: Config, state: PersistentState): Promi
208 url: artifact.browser_download_url, 208 url: artifact.browser_download_url,
209 dest, 209 dest,
210 progressTitle: "Downloading rust-analyzer extension", 210 progressTitle: "Downloading rust-analyzer extension",
211 overwrite: true,
212 }); 211 });
213 }); 212 });
214 213
@@ -340,7 +339,6 @@ async function getServer(config: Config, state: PersistentState): Promise<string
340 progressTitle: "Downloading rust-analyzer server", 339 progressTitle: "Downloading rust-analyzer server",
341 gunzip: true, 340 gunzip: true,
342 mode: 0o755, 341 mode: 0o755,
343 overwrite: true,
344 }); 342 });
345 }); 343 });
346 344