Skip to content

Commit

Permalink
[fix] omits progress br for non-TTY stdout#374
Browse files Browse the repository at this point in the history
  • Loading branch information
blakmatrix committed Jan 22, 2013
1 parent a939650 commit c00e8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jitsu/package.js
Expand Up @@ -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;
Expand Down

1 comment on commit c00e8fe

@blakmatrix
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was for issue #374

Please sign in to comment.