Skip to content

Commit

Permalink
Trivial fix to allow multiple progress meters to exist in the lifetime
Browse files Browse the repository at this point in the history
of an apostrophe-migrations:migrate run
  • Loading branch information
Thomas Boutell committed Mar 28, 2019
1 parent fc7c89a commit 1772182
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/modules/apostrophe-migrations/lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ module.exports = function(self, options) {
},

end: function() {
self.progressDepth--;
if (meter.total === undefined) {
if (!meter.requestedTotal) {
meter.ended = true;
Expand Down

0 comments on commit 1772182

Please sign in to comment.