summaryrefslogtreecommitdiff
path: root/danger
diff options
context:
space:
mode:
Diffstat (limited to 'danger')
-rw-r--r--danger/commit_messages/Dangerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/danger/commit_messages/Dangerfile b/danger/commit_messages/Dangerfile
index d9ba71a73cd..9be1ce2ff86 100644
--- a/danger/commit_messages/Dangerfile
+++ b/danger/commit_messages/Dangerfile
@@ -199,7 +199,7 @@ def lint_commit(commit)
end
def lint_commits(commits)
- failed = commits.reject do |commit|
+ failed = commits.select do |commit|
lint_commit(commit)
end