From 352ac76640d1c4745c46a971faea59ab3fd83a62 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Thu, 22 Feb 2018 08:58:44 +0100 Subject: [PATCH] chore: add debugging to semantic commit detection --- lib/workers/repository/updates/semantic.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/workers/repository/updates/semantic.js b/lib/workers/repository/updates/semantic.js index 286cd2073b..d6933ff14b 100644 --- a/lib/workers/repository/updates/semantic.js +++ b/lib/workers/repository/updates/semantic.js @@ -1,7 +1,13 @@ 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(); -- GitLab