Skip to content

Commit

Permalink
Using relative filepath as file name, to fix inline comments
Browse files Browse the repository at this point in the history
  • Loading branch information
UrsKahmann committed Apr 1, 2020
1 parent 020d670 commit d3695a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/xcode_summary/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ def errors(xcode_summary)

def parse_location(input)
file_path, line, _column = input[:file_path].split(':')
Location.new(input[:file_name], file_path, line.to_i)
file_name = relative_path(file_path)
Location.new(file_name, file_path, line.to_i)
end

def parse_test_location(failure)
Expand Down

0 comments on commit d3695a1

Please sign in to comment.