Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Try patch for nodejs/node#6456
Browse files Browse the repository at this point in the history
  • Loading branch information
xzyfer committed Jul 19, 2018
1 parent 9f31dfd commit 13ec2d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,11 @@ describe('cli', function() {
// console.log(results.css.toString() === expectedCss);
// });

[bin.stdout, bin.stderr].forEach(function(s) {
s && s.isTTY && s._handle && s._handle.setBlocking &&
s._handle.setBlocking(true);
});

bin.stdout.on('data', function(data) {
// console.log('stdout', data.toString());
result += data;
Expand Down

0 comments on commit 13ec2d3

Please sign in to comment.