Skip to content

Commit 0433bcb

Browse files
committed
Fix illogical logic
1 parent e1ae610 commit 0433bcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/deploy/hosting/deploy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = function(context, options, payload) {
3434
var lastCount = 0;
3535
var lastPercent = 0;
3636
var bar;
37-
if (!options.nonInteractive || !process.stderr) {
37+
if (!options.nonInteractive && process.stderr) {
3838
bar = new ProgressBar(chalk.bold('Uploading:') + ' [:bar] :percent', {
3939
total: upload.manifest.length,
4040
width: 40,

0 commit comments

Comments
 (0)