Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdeviant committed Jan 29, 2024
1 parent 778fe2a commit 8c2ec92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/danger/dangerfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { danger, warn } from "danger";
const RELEASE_NOTES_PATTERN = new RegExp("Release Notes:\\n\\s+-", "gm");

const hasReleaseNotes = RELEASE_NOTES_PATTERN.test(danger.github.pr.body);
console.log(danger.github.pr.body, hasReleaseNotes);
console.log(JSON.stringify(danger.github.pr.body), hasReleaseNotes);
if (!hasReleaseNotes) {
warn(
"This PR is missing release notes. " +
Expand Down

0 comments on commit 8c2ec92

Please sign in to comment.