Skip to content

Commit 7703d7b

Browse files
Revert "debug changelog check"
This reverts commit 4dad568.
1 parent daf451c commit 7703d7b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

danger/dangerfile.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,13 @@ async function checkDocs() {
5757
async function checkChangelog() {
5858
const changelogFile = "CHANGELOG.md";
5959
const flavorConfig = getFlavorConfig(prFlavor);
60-
console.log(`::debug:: Changelog flavor config: ${flavorConfig}`);
60+
6161
// Check if skipped - either by flavor config, explicit skip, or skip label
6262
if (
6363
flavorConfig.changelog === undefined ||
6464
(danger.github.pr.body + "").includes("#skip-changelog") ||
6565
(danger.github.pr.labels || []).some(label => label.name === 'skip-changelog')
6666
) {
67-
console.log(`::debug:: Skipping changelog check: \n changelog flavor config: ${flavorConfig.changelog}`);
68-
console.log(`::debug:: Pr body: ${danger.github.pr.body}`);
69-
console.log(`::debug:: Pr labels: ${danger.github.pr.labels}`);
7067
return;
7168
}
7269

0 commit comments

Comments
 (0)