From ef65d8dd1cdddd5c46073af7f8c11bb4f5419028 Mon Sep 17 00:00:00 2001 From: jobevers Date: Tue, 7 Feb 2017 22:51:11 -0600 Subject: [PATCH] fix because the danger.systems code example was wrong --- Dangerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dangerfile b/Dangerfile index c1af0296d..7530d06bd 100644 --- a/Dangerfile +++ b/Dangerfile @@ -1,4 +1,5 @@ # Add a CHANGELOG entry for app changes +has_app_changes = !git.modified_files.grep(/lbrynet/).empty? if !git.modified_files.include?("CHANGELOG.md") && has_app_changes fail("Please include a CHANGELOG entry.") message "See http://keepachangelog.com/en/0.3.0/ for details on good changelog guidelines"