remove process.exit from migrations

This commit is contained in:
Henry Oswald 2015-09-16 16:26:51 +01:00
parent da42dff40e
commit ffd21cd080

View file

@ -178,10 +178,8 @@ exports.migrate = (client, done = ->)->
async.series jobs, (err)-> async.series jobs, (err)->
if err? if err?
console.error err, "at end of jobs" console.error err, "at end of jobs"
process.exit()
else else
console.log "finished" console.log "finished"
process.exit()
done(err) done(err)