diff options
| author | bors <bors@rust-lang.org> | 2023-01-24 13:27:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-01-24 13:27:19 +0000 |
| commit | e86bac92f485ff8f17a3fe49f8f7e7a10bacfecc (patch) | |
| tree | acc8ee87c2b2e61f337807c41bd97cdc4cbd2b4e /editors/code/src/util.ts | |
| parent | cd4ac0d87b0c40c9ac1cea299718c723ea93a162 (diff) | |
| parent | ec9476015ce966fc4238408baef7a7ad1b3db5d8 (diff) | |
| download | rust-e86bac92f485ff8f17a3fe49f8f7e7a10bacfecc.tar.gz rust-e86bac92f485ff8f17a3fe49f8f7e7a10bacfecc.zip | |
Auto merge of #14019 - Veykril:ts-bin-og, r=Veykril
Substitute VSCode variables more generally
Diffstat (limited to 'editors/code/src/util.ts')
| -rw-r--r-- | editors/code/src/util.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/util.ts b/editors/code/src/util.ts index cd91932bb60..a92c90f7ff4 100644 --- a/editors/code/src/util.ts +++ b/editors/code/src/util.ts @@ -117,7 +117,7 @@ export function isValidExecutable(path: string): boolean { const res = spawnSync(path, ["--version"], { encoding: "utf8" }); - const printOutput = res.error && (res.error as any).code !== "ENOENT" ? log.warn : log.debug; + const printOutput = res.error ? log.warn : log.info; printOutput(path, "--version:", res); return res.status === 0; |
