Commit 3b081fe0 authored by Kerri Miller's avatar Kerri Miller

Slight refactor of sectional data call site

parent 0a50ba69
......@@ -11,7 +11,7 @@ module Gitlab
end
def parsed_data
@parsed_data ||= get_parsed_data
@parsed_data ||= sectional_codeowners? ? get_parsed_sectional_data : get_parsed_data
end
def empty?
......@@ -43,10 +43,6 @@ module Gitlab
end
def get_parsed_data
if sectional_codeowners?
return get_parsed_sectional_data
end
parsed = {}
data.lines.each do |line|
......
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