Commit 6a86dd41 authored by Kerri Miller's avatar Kerri Miller

Compress string checks into single line

parent 1d54e5f0
......@@ -95,10 +95,7 @@ module Gitlab
end
def skip?(line)
return true unless line.present?
return true if line.starts_with?('#')
false
line.blank? || line.starts_with?('#')
end
def normalize_pattern(pattern)
......
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