We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 00399ab + 7f8bd7e commit b91eeaeCopy full SHA for b91eeae
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