You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: lib/slather/coverage_file.rb
+1-1
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ def line_coverage_data
71
71
end
72
72
73
73
defcleaned_gcov_data
74
-
data=gcov_data.gsub(/^function(.*) called [0-9]+ returned [0-9]+% blocks executed(.*)$\r?\n/,'')
74
+
data=gcov_data.encode('UTF-8','binary',invalid: :replace,undef: :replace,replace: '').gsub(/^function(.*) called [0-9]+ returned [0-9]+% blocks executed(.*)$\r?\n/,'')
0 commit comments