Skip to content

Commit

Permalink
fix: remove setEncoding on write stream (#687)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhohlfeld authored May 15, 2024
1 parent d339ef9 commit 59affc0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const exec = (command, args, stdin, cwd, detached) => {
return reject(err)
}
})
process.stdin.setEncoding('utf-8')
process.stdin.write(stdin)
process.stdin.end()
}
Expand Down

0 comments on commit 59affc0

Please sign in to comment.