diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-06-15 11:15:49 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-06-15 11:15:49 +0300 |
commit | 4c098714504b5cc5693adac49ca28370e89d0643 (patch) | |
tree | c650ce7dea299b14b78f72d34298b51d61a017b0 /lib/gitlab/email/handler/create_issue_handler.rb | |
parent | 72184c16ab3af3279f218d8b7c2b9aae5bc0b4a8 (diff) |
Avoid using bang bang
Diffstat (limited to 'lib/gitlab/email/handler/create_issue_handler.rb')
-rw-r--r-- | lib/gitlab/email/handler/create_issue_handler.rb | 2 |
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 |