Skip to content

Commit

Permalink
Respect ignore list for with xccov reports
Browse files Browse the repository at this point in the history
  • Loading branch information
briancordanyoung committed May 9, 2019
1 parent 9e560dc commit c40c06b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/slather/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,12 @@ def xccov_coverage_files

xccov_json["targets"].each do |target|
target["files"].each do |file|
if self.ignore_list.any? { |ignore| File.fnmatch(ignore, file["path"]) }
# p "🔴 " + file["path"]
else
# p "✅ " + file["path"]
xccov_source_file << coverage_file = coverage_file_class.new(self, file["name"], file["path"], "#{xccovarchive}", file)
end
end
end

Expand Down

0 comments on commit c40c06b

Please sign in to comment.