Skip to content

Commit

Permalink
can't pipe i/o command to terminal, pollutes output comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishkeshan committed Mar 28, 2024
1 parent c73d2b2 commit cf42555
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ function executeTest(command, input, timeout) {
input,
timeout,
env,
stdio: 'inherit',
})?.toString()
})
.toString()
.trim()
return {
output,
}
Expand Down

0 comments on commit cf42555

Please sign in to comment.