Unnamed repository; edit this file 'description' to name the repository.
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 cd91932bb6..a92c90f7ff 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; |