mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
parent
660a407c16
commit
dac9ffc473
2 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
var _ = require('lodash'),
|
var _ = require('lodash'),
|
||||||
Promise = require('bluebird'),
|
Promise = require('bluebird'),
|
||||||
|
sequence = require('../../../../lib/promise/sequence'),
|
||||||
models = require('../../../../models'),
|
models = require('../../../../models'),
|
||||||
globalUtils = require('../../../../utils'),
|
|
||||||
SubscribersImporter = require('./subscribers'),
|
SubscribersImporter = require('./subscribers'),
|
||||||
PostsImporter = require('./posts'),
|
PostsImporter = require('./posts'),
|
||||||
TagsImporter = require('./tags'),
|
TagsImporter = require('./tags'),
|
||||||
|
@ -65,7 +65,7 @@ DataImporter = {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
globalUtils.sequence(ops)
|
sequence(ops)
|
||||||
.then(function () {
|
.then(function () {
|
||||||
results.forEach(function (promise) {
|
results.forEach(function (promise) {
|
||||||
if (!promise.isFulfilled()) {
|
if (!promise.isFulfilled()) {
|
||||||
|
|
|
@ -134,7 +134,6 @@ utils = {
|
||||||
readCSV: require('./read-csv'),
|
readCSV: require('./read-csv'),
|
||||||
zipFolder: require('./zip-folder'),
|
zipFolder: require('./zip-folder'),
|
||||||
tokens: require('./tokens'),
|
tokens: require('./tokens'),
|
||||||
sequence: require('../lib/promise/sequence'),
|
|
||||||
ghostVersion: require('./ghost-version'),
|
ghostVersion: require('./ghost-version'),
|
||||||
mobiledocConverter: require('./mobiledoc-converter'),
|
mobiledocConverter: require('./mobiledoc-converter'),
|
||||||
markdownConverter: require('./markdown-converter')
|
markdownConverter: require('./markdown-converter')
|
||||||
|
|
Loading…
Add table
Reference in a new issue