Skip to content

Commit

Permalink
fix(yarn): trim newline from end of yarn output
Browse files Browse the repository at this point in the history
refs #313
- trims newline so verbose output is nicer
  • Loading branch information
acburdine committed Jul 8, 2017
1 parent e9e53f9 commit 43ceff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/yarn.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = function yarn(yarnArgs, options) {
cp.stdout.setEncoding('utf8');

cp.stdout.on('data', (data) => {
observer.next(data);
observer.next(data.replace(/\n$/, ''));
});

cp.then(() => {
Expand Down

0 comments on commit 43ceff1

Please sign in to comment.