had boolean logic backwards
This commit is contained in:
parent
1c2eab4b40
commit
5a86b68893
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
# Add a CHANGELOG entry for app changes
|
||||
has_app_changes = !(git.modified_files.grep(/js/).empty? || git.modified_files.grep(/scss/).empty?)
|
||||
has_app_changes = !(git.modified_files.grep(/js/).empty? && git.modified_files.grep(/scss/).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"
|
||||
|
|
Loading…
Add table
Reference in a new issue