Skip to content
Snippets Groups Projects
Commit 414fb7d4 authored by Rhys Arkins's avatar Rhys Arkins Committed by singapore
Browse files

chore: add debugging to checkOnboardingBranch

parent bf0cbd38
No related branches found
No related tags found
No related merge requests found
......@@ -16,8 +16,10 @@ async function checkOnboardingBranch(config) {
}
logger.info('Repo is not onboarded');
if (await onboardingPrExists(config)) {
logger.debug('Onboarding PR already exists');
await rebaseOnboardingBranch(config);
} else {
logger.debug('Onboarding PR does not exist');
if ((await detectPackageFiles(config)).length === 0) {
throw new Error('no-package-files');
}
......
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