Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
make soupify more quiet if not in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar committed Apr 16, 2024
1 parent e22e67a commit 10f2f49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/soupify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ console.log(JSON.stringify(elements))

debug(`starting process....`)
const processResult = await processCmdPart1
.stdout("inheritPiped")
.stderr("inheritPiped")
.stdout(debug.enabled ? "inheritPiped" : "piped")
.stderr(debug.enabled ? "inheritPiped" : "piped")
.noThrow()

const rawSoup = processResult.stdout
Expand Down

0 comments on commit 10f2f49

Please sign in to comment.