Skip to content
Permalink
Browse files

[fix] omits progress br for non-TTY stdout#374

  • Loading branch information...
blakmatrix committed Jan 22, 2013
1 parent a939650 commit c00e8fe6c37d901c37582c618adf3430c2eae169
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/jitsu/package.js
@@ -427,7 +427,7 @@ package.updateTarball = function (version, pkg, existing, firstSnapshot, callbac
return err ? callback(err) : callback(null, version, pkg);
});

if (emitter && !jitsu.config.get('raw')) {
if (emitter && !jitsu.config.get('raw') && process.stdout.isTTY ) {
var size;
emitter.on('start', function(stats) {
size = stats.size;

1 comment on commit c00e8fe

@blakmatrix

This comment has been minimized.

Copy link
Contributor Author

blakmatrix commented on c00e8fe Jan 22, 2013

this was for issue #374

Please sign in to comment.
You can’t perform that action at this time.