Skip to content

Commit aa07368

Browse files
committed
!blank? is better
1 parent e7c6e53 commit aa07368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/travis/listener/app.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def event_type
182182
end
183183

184184
def integration_type
185-
if !!request_body
185+
if !request_body.blank?
186186
"github_apps"
187187
else
188188
"webhook"

0 commit comments

Comments
 (0)