Commit c57c9c41 authored by Jason Roehm's avatar Jason Roehm

fix rubocop violation

parent b6ede127
......@@ -289,7 +289,7 @@ module Ci
return false if path && path != self.path
return true if tag && pattern == 'tags'
return true if !tag && pattern == 'branches'
return true if trigger_request != nil && pattern == 'triggers'
return true if !trigger_request.nil? && pattern == 'triggers'
if pattern.first == "/" && pattern.last == "/"
Regexp.new(pattern[1...-1]) =~ ref
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment