Skip to content

Commit

Permalink
Fix dumb mistake in dangerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettmoon committed Apr 20, 2017
1 parent 0609e70 commit 2568be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ warn("This is a big PR, please consider splitting it up to ease code review.") i

# Changelog entries are required for changes to source files.
no_changelog_entry = !git.modified_files.include?("CHANGELOG.md")
if has_changes_in_source_directory && no_changelog_entry && not_declared_trivial
if has_changes_in_source_directory && no_changelog_entry && !declared_trivial
fail("Any source code changes should have an entry in CHANGELOG.md or have #trivial in their title.")
end

Expand Down

0 comments on commit 2568be5

Please sign in to comment.