Skip to content

Commit d3695a1

Browse files
author
UrsKahmann
committed
Using relative filepath as file name, to fix inline comments
1 parent 020d670 commit d3695a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/xcode_summary/plugin.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ def errors(xcode_summary)
200200

201201
def parse_location(input)
202202
file_path, line, _column = input[:file_path].split(':')
203-
Location.new(input[:file_name], file_path, line.to_i)
203+
file_name = relative_path(file_path)
204+
Location.new(file_name, file_path, line.to_i)
204205
end
205206

206207
def parse_test_location(failure)

0 commit comments

Comments
 (0)