for testing, exit after first file

This commit is contained in:
Cassie Tarakajian 2017-12-26 21:48:37 -05:00
parent 1c0da9320f
commit 6abaf99899

View file

@ -32,6 +32,7 @@ Project.find({}, (err, projects) => {
}
project.save((err, savedProject) => {
console.log(`updated file ${file.url}`);
process.exit(0);
});
});
});