aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/code/package.json2
-rw-r--r--editors/code/src/config.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 430a61c64..6827c822b 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -219,7 +219,7 @@
219 } 219 }
220 } 220 }
221 }, 221 },
222 "rust-analyzer.askBeforeDownload": { 222 "rust-analyzer.updates.askBeforeDownload": {
223 "type": "boolean", 223 "type": "boolean",
224 "default": true, 224 "default": true,
225 "description": "Whether to ask for permission before downloading any files from the Internet" 225 "description": "Whether to ask for permission before downloading any files from the Internet"
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index 948c12c2d..b72206d3c 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -134,7 +134,7 @@ export class Config {
134 file: prebuiltBinaryName, 134 file: prebuiltBinaryName,
135 storage: this.ctx.globalState, 135 storage: this.ctx.globalState,
136 tag: Config.extensionVersion, 136 tag: Config.extensionVersion,
137 askBeforeDownload: this.cfg.get("askBeforeDownload") as boolean, 137 askBeforeDownload: this.cfg.get("updates.askBeforeDownload") as boolean,
138 repo: { 138 repo: {
139 name: "rust-analyzer", 139 name: "rust-analyzer",
140 owner: "rust-analyzer", 140 owner: "rust-analyzer",