summaryrefslogtreecommitdiff
path: root/danger
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2019-02-22 11:56:45 +0000
committerKamil TrzciƄski <ayufan@ayufan.eu>2019-02-22 11:56:45 +0000
commite9598f80a1fc4a1ee5f1c0fdfa82baa5c9af2fd6 (patch)
treebf04e8c56c74010c6b7512c6d1c0d1fd043ecbe6 /danger
parent48d31abc97528a36614b545f0b61fa14053ce4a8 (diff)
downloadgitlab-ce-e9598f80a1fc4a1ee5f1c0fdfa82baa5c9af2fd6.tar.gz
Resolve "Fix danger commit messages check"
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