diff --git a/Dangerfile b/Dangerfile index db017b33..b134a792 100644 --- a/Dangerfile +++ b/Dangerfile @@ -1,5 +1,5 @@ #Check for changes to README.md -has_readme_changes = !git.modified_files.grep(/README.md).empty? +has_readme_changes = git.modified_files.include?("README.md") # Ensure there is a summary for a pull request fail 'Please provide a summary in the Pull Request description' if github.pr_body.length < 5