mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 07:26:26 +00:00
80bed05146
Repository logic code has been rearranged for better logic and file separation. Closes #654
12 lines
234 B
JavaScript
12 lines
234 B
JavaScript
module.exports = {
|
|
checkIfConfigured,
|
|
};
|
|
|
|
function checkIfConfigured(config) {
|
|
if (config.enabled === false) {
|
|
throw new Error('disabled');
|
|
}
|
|
if (config.isFork && !config.renovateFork) {
|
|
throw new Error('fork');
|
|
}
|
|
}
|