We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0072aa3 commit 51156cbCopy full SHA for 51156cb
editors/code/src/commands/server_version.ts
@@ -6,7 +6,7 @@ export function serverVersion(ctx: Ctx): Cmd {
6
return async () => {
7
const { stdout } = spawnSync(ctx.serverPath, ["--version"], { encoding: "utf8" });
8
const commitHash = stdout.slice(`rust-analyzer `.length).trim();
9
- const { releaseTag } = ctx.config;
+ const { releaseTag } = ctx.config.package;
10
11
void vscode.window.showInformationMessage(
12
`rust-analyzer version: ${releaseTag ?? "unreleased"} (${commitHash})`
0 commit comments