remove process.exit from migrations

This commit is contained in:
Henry Oswald 2015-09-16 16:26:51 +01:00
parent 0980b2e6dc
commit 6aa2446eea

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)