Simplify file download code

This commit is contained in:
Laurențiu Nicola 2021-01-25 19:12:54 +02:00
parent 2c735ed734
commit 03a1da9d46
2 changed files with 1 additions and 10 deletions

View file

@ -208,7 +208,6 @@ async function bootstrapExtension(config: Config, state: PersistentState): Promi
url: artifact.browser_download_url,
dest,
progressTitle: "Downloading rust-analyzer extension",
overwrite: true,
});
});
@ -340,7 +339,6 @@ async function getServer(config: Config, state: PersistentState): Promise<string
progressTitle: "Downloading rust-analyzer server",
gunzip: true,
mode: 0o755,
overwrite: true,
});
});