mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 05:38:46 +00:00
Auto merge of #18219 - Veykril:veykril/push-ytnzuvtoswqz, r=Veykril
fix: Fix bootstrap error message being incorrect precedence ...
This commit is contained in:
commit
e1a76671af
1 changed files with 4 additions and 3 deletions
|
@ -23,10 +23,11 @@ export async function bootstrap(
|
|||
|
||||
if (!isValidExecutable(path, config.serverExtraEnv)) {
|
||||
throw new Error(
|
||||
`Failed to execute ${path} --version.` + config.serverPath
|
||||
? `\`config.server.path\` or \`config.serverPath\` has been set explicitly.\
|
||||
`Failed to execute ${path} --version.` +
|
||||
(config.serverPath
|
||||
? `\`config.server.path\` or \`config.serverPath\` has been set explicitly.\
|
||||
Consider removing this config or making a valid server binary available at that path.`
|
||||
: "",
|
||||
: ""),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue