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

chore: add debugging to semantic commit detection

parent 49cedb15
No related branches found
No related tags found
No related merge requests found
const conventionalCommitsDetector = require('conventional-commits-detector');
async function detectSemanticCommits(config) {
logger.debug('detectSemanticCommits()');
logger.trace({ config });
if (config.semanticCommits !== null) {
logger.debug(
{ semanticCommits: config.semanticCommits },
`semanticCommits already defined`
);
return config.semanticCommits;
}
const commitMessages = await platform.getCommitMessages();
......
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