aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src/main.ts')
-rw-r--r--editors/code/src/main.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts
index d907f3e6f..5297614a9 100644
--- a/editors/code/src/main.ts
+++ b/editors/code/src/main.ts
@@ -111,7 +111,7 @@ async function bootstrap(config: Config, state: PersistentState): Promise<string
111 111
112async function bootstrapExtension(config: Config, state: PersistentState): Promise<void> { 112async function bootstrapExtension(config: Config, state: PersistentState): Promise<void> {
113 if (config.channel === "stable") { 113 if (config.channel === "stable") {
114 if (config.extensionReleaseTag === NIGHTLY_TAG) { 114 if (config.releaseTag === NIGHTLY_TAG) {
115 vscode.window.showWarningMessage(`You are running a nightly version of rust-analyzer extension. 115 vscode.window.showWarningMessage(`You are running a nightly version of rust-analyzer extension.
116To switch to stable, uninstall the extension and re-install it from the marketplace`); 116To switch to stable, uninstall the extension and re-install it from the marketplace`);
117 } 117 }
@@ -219,7 +219,7 @@ async function getServer(config: Config, state: PersistentState): Promise<string
219 if (userResponse !== "Download now") return dest; 219 if (userResponse !== "Download now") return dest;
220 } 220 }
221 221
222 const release = await fetchRelease(config.extensionReleaseTag); 222 const release = await fetchRelease(config.releaseTag);
223 const artifact = release.assets.find(artifact => artifact.name === binaryName); 223 const artifact = release.assets.find(artifact => artifact.name === binaryName);
224 assert(!!artifact, `Bad release: ${JSON.stringify(release)}`); 224 assert(!!artifact, `Bad release: ${JSON.stringify(release)}`);
225 225