From eda3a1cfd3ec8eb06f7a9fd353ed631ca13eb111 Mon Sep 17 00:00:00 2001 From: n8225 Date: Sun, 4 Dec 2016 10:05:37 -0600 Subject: [PATCH] Update Dangerfile --- Dangerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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