diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2023-08-21 12:44:09 +0300 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2023-08-21 12:44:09 +0300 |
| commit | 30d8aa1becc4c06f4326812e4bab997768a86c21 (patch) | |
| tree | cc630f4ca88c9365a86a3dd79618cfa860f9de37 /editors/code/src/bootstrap.ts | |
| parent | 883f16d8057a9f1f43f34cac9ebdf90e58f7ebbd (diff) | |
| download | rust-30d8aa1becc4c06f4326812e4bab997768a86c21.tar.gz rust-30d8aa1becc4c06f4326812e4bab997768a86c21.zip | |
Merge commit '9b3d03408c66749d56466bb09baf2a7177deb6ce' into sync-from-ra
Diffstat (limited to 'editors/code/src/bootstrap.ts')
| -rw-r--r-- | editors/code/src/bootstrap.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/bootstrap.ts b/editors/code/src/bootstrap.ts index ef4dff095cf..6cf399599d9 100644 --- a/editors/code/src/bootstrap.ts +++ b/editors/code/src/bootstrap.ts @@ -20,7 +20,7 @@ export async function bootstrap( log.info("Using server binary at", path); - if (!isValidExecutable(path)) { + if (!isValidExecutable(path, config.serverExtraEnv)) { if (config.serverPath) { throw new Error(`Failed to execute ${path} --version. \`config.server.path\` or \`config.serverPath\` has been set explicitly.\ Consider removing this config or making a valid server binary available at that path.`); |
