Skip to content

Commit

Permalink
remove error print from 'which' call
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewNolte committed Oct 23, 2024
1 parent f451de7 commit 540a041
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib/libconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,6 @@ export class PathConfigObject extends ConfigObject<string> {
try {
const { stdout, stderr } = await execFilePromise(getShell(), args)
if (stderr) {
console.error(`Error: ${stderr}`)
return ''
}
if (getPlatform() === 'windows') {
Expand All @@ -601,7 +600,6 @@ export class PathConfigObject extends ConfigObject<string> {
}
return stdout.trim()
} catch (error) {
console.error(`Error: ${error}`)
return ''
}
}
Expand Down

0 comments on commit 540a041

Please sign in to comment.