We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 594104b commit fff4c16Copy full SHA for fff4c16
generated/seed.js
@@ -49,9 +49,9 @@ db.sync({ force: true })
49
})
50
.then(function () {
51
console.log(chalk.green('Seed successful!'));
52
- process.kill(0);
+ process.exit(0);
53
54
.catch(function (err) {
55
console.error(err);
56
- process.kill(1);
+ process.exit(1);
57
});
generated/server/main.js
@@ -23,5 +23,4 @@ var startServer = function () {
23
24
db.sync().then(createApplication).then(startServer).catch(function (err) {
25
console.error(chalk.red(err.stack));
26
27
0 commit comments