diff --git a/server/migrations/moveBucket.js b/server/migrations/moveBucket.js index 9c77e1db..e1120d5a 100644 --- a/server/migrations/moveBucket.js +++ b/server/migrations/moveBucket.js @@ -32,6 +32,7 @@ Project.find({}, (err, projects) => { } project.save((err, savedProject) => { console.log(`updated file ${file.url}`); + process.exit(0); }); }); });