From 6abaf998995002cd20aad6e0dd0a3100eeefa1f9 Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Tue, 26 Dec 2017 21:48:37 -0500 Subject: [PATCH] for testing, exit after first file --- server/migrations/moveBucket.js | 1 + 1 file changed, 1 insertion(+) 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); }); }); });