vscode: fix inversion of askBeforeDownload

This commit is contained in:
Veetaha 2020-03-08 21:47:35 +02:00
parent 2847636d30
commit de99fa7199

View file

@ -134,7 +134,7 @@ export class Config {
file: prebuiltBinaryName,
storage: this.ctx.globalState,
tag: Config.extensionVersion,
askBeforeDownload: !(this.cfg.get("askBeforeDownload") as boolean),
askBeforeDownload: this.cfg.get("askBeforeDownload") as boolean,
repo: {
name: "rust-analyzer",
owner: "rust-analyzer",