mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
fix: Fix bootstrap error message being incorrect
This commit is contained in:
parent
2f55a91552
commit
ac4edbf9dc
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