mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
fix: Exit if zero managers were loaded (#5387)
This commit is contained in:
parent
9c7f1e4204
commit
f6bc800be5
1 changed files with 2 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue