Skip to content

Commit

Permalink
Merge pull request #22 from education/remove-stdio-inherit
Browse files Browse the repository at this point in the history
Can't pipe i/o command to terminal, pollutes output comparison
  • Loading branch information
ashishkeshan authored Mar 28, 2024
2 parents c575d30 + cf42555 commit fdd695a
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 fdd695a

Please sign in to comment.