Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
waterfall(tasks, error => {
if (error) {
warn('Fail Seeding Data', error);
} else {
debug('Finish Seeding Data');
}
process.exit(0);
});
syncIndexes((error, results) => {
if (error) {
warn('Fail Syncing Indexes', error);
} else {
debug('Finish Syncing Indexes', results);
}
process.exit(0);
});