Repository navigation
Commit 9711723
fix(integration): honour the stdout/stderr write callback in the command runner
The capture function replacing process.stdout.write and process.stderr.write
took only the chunk, so a caller using write(chunk, cb) or
write(chunk, encoding, cb) never had its callback invoked. Anything waiting on
that callback would stall for the duration of the command under test.
Addresses Copilot review on PR #235.
Co-Authored-By: Harshi Shah <harshi.shah@contentstack.com>1 parent 01b4dde commit 9711723
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
0 commit comments