Skip to content

Commit

Permalink
Remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredofernandes committed Jul 18, 2024
1 parent 325548c commit dd25ac3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/slather/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,14 +185,6 @@ def create_coverage_files(binary_path, path_objects)
if paths_to_segments.key?(coverage_file.source_file_pathname)
coverage_file.segments = paths_to_segments[coverage_file.source_file_pathname]
end
puts "--> coverage_file.source_file_pathname: #{coverage_file.source_file_pathname}"

if coverage_file.source_file_pathname.nil? || coverage_file.source_file_pathname.empty?
puts "--> source_file_pathname is nil or empty, source: #{source}"
else
puts "--> source_file_pathname is not nil or empty"
end

coverage_file.source_file_pathname && !coverage_file.ignored? && coverage_file.include_file? ? coverage_file : nil
end.compact
end
Expand Down

0 comments on commit dd25ac3

Please sign in to comment.