fix because the danger.systems code example was wrong

This commit is contained in:
jobevers 2017-02-07 22:51:11 -06:00
parent a8780f03a8
commit ef65d8dd1c

View file

@ -1,4 +1,5 @@
# Add a CHANGELOG entry for app changes # 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 if !git.modified_files.include?("CHANGELOG.md") && has_app_changes
fail("Please include a CHANGELOG entry.") fail("Please include a CHANGELOG entry.")
message "See http://keepachangelog.com/en/0.3.0/ for details on good changelog guidelines" message "See http://keepachangelog.com/en/0.3.0/ for details on good changelog guidelines"