Skip to content

Commit 43ceff1

Browse files
committed
fix(yarn): trim newline from end of yarn output
refs #313 - trims newline so verbose output is nicer
1 parent e9e53f9 commit 43ceff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/yarn.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = function yarn(yarnArgs, options) {
3838
cp.stdout.setEncoding('utf8');
3939

4040
cp.stdout.on('data', (data) => {
41-
observer.next(data);
41+
observer.next(data.replace(/\n$/, ''));
4242
});
4343

4444
cp.then(() => {

0 commit comments

Comments
 (0)