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

fix: reset logger meta when multiple baseBranches

parent c42d6cb2
No related branches found
No related tags found
No related merge requests found
const { logger } = require('../../../logger');
const { logger, setMeta } = require('../../../logger');
const { mergeChildConfig } = require('../../../config');
const { extractAndUpdate } = require('./extract-update');
const { appName } = require('../../../config/app-strings');
......@@ -47,6 +47,9 @@ async function processRepo(config) {
let branches = [];
let branchList = [];
for (const baseBranch of config.baseBranches) {
setMeta({
repository: config.repository,
});
logger.debug(`baseBranch: ${baseBranch}`);
const baseBranchConfig = mergeChildConfig(config, { baseBranch });
if (config.baseBranches.length > 1) {
......
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