Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-06-15 11:15:49 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-06-15 11:15:49 +0300
commit4c098714504b5cc5693adac49ca28370e89d0643 (patch)
treec650ce7dea299b14b78f72d34298b51d61a017b0 /lib/gitlab/email/handler
parent72184c16ab3af3279f218d8b7c2b9aae5bc0b4a8 (diff)
Avoid using bang bang
Diffstat (limited to 'lib/gitlab/email/handler')
-rw-r--r--lib/gitlab/email/handler/create_issue_handler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/email/handler/create_issue_handler.rb b/lib/gitlab/email/handler/create_issue_handler.rb
index 19c903e56f5..638766cca2f 100644
--- a/lib/gitlab/email/handler/create_issue_handler.rb
+++ b/lib/gitlab/email/handler/create_issue_handler.rb
@@ -14,7 +14,7 @@ module Gitlab
end
def can_handle?
- !!authentication_token
+ !authentication_token.nil?
end
def execute