From 540a04132f7e64cde69ed9dbd889230437f71025 Mon Sep 17 00:00:00 2001 From: Andrew Nolte Date: Mon, 14 Oct 2024 11:01:42 -0400 Subject: [PATCH] remove error print from 'which' call --- src/lib/libconfig.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/libconfig.ts b/src/lib/libconfig.ts index 1dfe834..3e88963 100644 --- a/src/lib/libconfig.ts +++ b/src/lib/libconfig.ts @@ -592,7 +592,6 @@ export class PathConfigObject extends ConfigObject { try { const { stdout, stderr } = await execFilePromise(getShell(), args) if (stderr) { - console.error(`Error: ${stderr}`) return '' } if (getPlatform() === 'windows') { @@ -601,7 +600,6 @@ export class PathConfigObject extends ConfigObject { } return stdout.trim() } catch (error) { - console.error(`Error: ${error}`) return '' } }