Skip to content
Snippets Groups Projects
Unverified Commit f6bc800b authored by Sergio Zharinov's avatar Sergio Zharinov Committed by GitHub
Browse files

fix: Exit if zero managers were loaded (#5387)

parent 9c7f1e42
No related branches found
Tags 19.120.6
No related merge requests found
......@@ -44,7 +44,8 @@ function loadManagers(): void {
try {
module = require(`./${manager}`); // eslint-disable-line
} catch (e) /* istanbul ignore next */ {
logger.error(`Can not load manager "${manager}", skipping directory.`);
logger.fatal(`Can not load manager "${manager}".`);
process.exit(1);
}
if (isValidManagerModule(module)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment