Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
config: progressbar should be disable in editor
Browse files Browse the repository at this point in the history
Credit: @watilde
Reviewed-By: @iarna
PR-URL: #13305
Fixes: #13290
  • Loading branch information
watilde authored and iarna committed Jul 7, 2016
1 parent 58da923 commit 1244cc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ var os = require('os')
var umask = require('./utils/umask')
var usage = require('./utils/usage')
var output = require('./utils/output')
var noProgressTillDone = require('./utils/no-progress-while-running').tillDone

config.usage = usage(
'config',
Expand Down Expand Up @@ -106,7 +107,7 @@ function edit (cb) {
data,
function (er) {
if (er) return cb(er)
editor(f, { editor: e }, cb)
editor(f, { editor: e }, noProgressTillDone(cb))
}
)
})
Expand Down

0 comments on commit 1244cc1

Please sign in to comment.