Dangerfile in bootstrap_form-5.0.0 vs Dangerfile in bootstrap_form-5.1.0

- old
+ new

@@ -42,10 +42,10 @@ end # ------------------------------------------------------------------------------ # Did you remove the CHANGELOG's "Your contribution here!" line? # ------------------------------------------------------------------------------ -if has_changelog_changes && IO.read("CHANGELOG.md").scan(/^\s*[-*] Your contribution here/i).count < 3 +if has_changelog_changes && File.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