parent
660a407c16
commit
dac9ffc473
@ -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()) {
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user