Update Dangerfile

This commit is contained in:
n8225 2016-12-04 10:05:37 -06:00 committed by GitHub
parent 1fe52b4236
commit eda3a1cfd3

View File

@ -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