Removed leftover usages for globalUtils.sequence

refs #9178
This commit is contained in:
kirrg001 2017-12-14 01:40:15 +01:00
parent 660a407c16
commit dac9ffc473
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
var _ = require('lodash'),
Promise = require('bluebird'),
sequence = require('../../../../lib/promise/sequence'),
models = require('../../../../models'),
globalUtils = require('../../../../utils'),
SubscribersImporter = require('./subscribers'),
PostsImporter = require('./posts'),
TagsImporter = require('./tags'),
@ -65,7 +65,7 @@ DataImporter = {
});
});
globalUtils.sequence(ops)
sequence(ops)
.then(function () {
results.forEach(function (promise) {
if (!promise.isFulfilled()) {

View File

@ -134,7 +134,6 @@ utils = {
readCSV: require('./read-csv'),
zipFolder: require('./zip-folder'),
tokens: require('./tokens'),
sequence: require('../lib/promise/sequence'),
ghostVersion: require('./ghost-version'),
mobiledocConverter: require('./mobiledoc-converter'),
markdownConverter: require('./markdown-converter')