Skip to content
Snippets Groups Projects
Commit 2e2f53b6 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: move debug statement to fix tests

parent a2b3ca44
No related branches found
No related tags found
No related merge requests found
async function checkBaseBranch(config) { async function checkBaseBranch(config) {
logger.debug('checkBaseBranch()');
logger.debug(`config.repoIsOnboarded=${config.repoIsOnboarded}`);
let error = []; let error = [];
if (config.baseBranch) { if (config.baseBranch) {
// Renovate should read content and target PRs here // Renovate should read content and target PRs here
......
...@@ -9,8 +9,7 @@ async function initRepo(input) { ...@@ -9,8 +9,7 @@ async function initRepo(input) {
config = await checkOnboardingBranch(config); config = await checkOnboardingBranch(config);
config = await mergeRenovateConfig(config); config = await mergeRenovateConfig(config);
checkIfConfigured(config); checkIfConfigured(config);
await checkBaseBranch(config); config = await checkBaseBranch(config);
logger.debug(`config.repoIsOnboarded=${config.repoIsOnboarded}`);
return config; return config;
} }
......
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