exit with 1 if there is an error in tests

This commit is contained in:
Jonathan Rainville 2018-10-12 13:48:39 -04:00 committed by Pascal Precht
parent fe0b84349a
commit 0ef879d6a6
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D

View File

@ -570,7 +570,7 @@ class EmbarkController {
engine.logger.error(err.message || err);
}
process.exit();
process.exit(err ? 1 : 0);
});
}
}