Skip to content

Commit

Permalink
fix: remove debug that logs all env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Aug 11, 2023
1 parent 64704e5 commit 8c27903
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/yarn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export default class Yarn {
}

fork(modulePath: string, args: string[] = [], options: any = {}): Promise<void> {
debug('child_process.fork options:', options)
return new Promise((resolve, reject) => {
const forked = fork(modulePath, args, options)
forked.stderr?.on('data', (d: any) => process.stderr.write(d))
Expand All @@ -44,7 +43,6 @@ export default class Yarn {
}

spawn(executable: string, args: string[] = [], options: any = {}): Promise<void> {
debug('child_process.spawn options:', options)
return new Promise((resolve, reject) => {
const spawned = spawn(executable, args, {...options, shell: true})
spawned.stderr.setEncoding('utf8')
Expand Down

0 comments on commit 8c27903

Please sign in to comment.