We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 316a15c commit 7f8bd7eCopy full SHA for 7f8bd7e
src/tools/rust-analyzer/editors/code/src/bootstrap.ts
@@ -23,10 +23,11 @@ export async function bootstrap(
23
24
if (!isValidExecutable(path, config.serverExtraEnv)) {
25
throw new Error(
26
- `Failed to execute ${path} --version.` + config.serverPath
27
- ? `\`config.server.path\` or \`config.serverPath\` has been set explicitly.\
+ `Failed to execute ${path} --version.` +
+ (config.serverPath
28
+ ? `\`config.server.path\` or \`config.serverPath\` has been set explicitly.\
29
Consider removing this config or making a valid server binary available at that path.`
- : "",
30
+ : ""),
31
);
32
}
33
0 commit comments