renovate/lib/workers/repository/updates/index.js
2017-11-08 06:44:03 +01:00

16 lines
446 B
JavaScript

const { determineRepoUpgrades } = require('./determine');
const { branchifyUpgrades } = require('./branchify');
module.exports = {
determineUpdates,
};
async function determineUpdates(input) {
let config = { ...input };
logger.debug('determineUpdates()');
logger.trace({ config });
config = await determineRepoUpgrades(config);
config = branchifyUpgrades(config);
logger.debug('Finished determining upgrades');
return config;
}