Dangerfile in bootstrap_form-4.5.0 vs Dangerfile in bootstrap_form-5.0.0

- old
+ new

@@ -42,13 +42,11 @@ end # ------------------------------------------------------------------------------ # Did you remove the CHANGELOG's "Your contribution here!" line? # ------------------------------------------------------------------------------ -if has_changelog_changes - if IO.read("CHANGELOG.md").scan(/^\s*[-\*] Your contribution here/i).count < 3 - raise( - "Please put the `- Your contribution here!` line back into CHANGELOG.md.", - sticky: false - ) - end +if has_changelog_changes && IO.read("CHANGELOG.md").scan(/^\s*[-*] Your contribution here/i).count < 3 + raise( + "Please put the `- Your contribution here!` line back into CHANGELOG.md.", + sticky: false + ) end