Skip to content

Commit

Permalink
Ignore entries for CompiledCode that no longer exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Sep 13, 2012
1 parent b3fa948 commit 71a4094
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/19/coverage.rb
Expand Up @@ -18,8 +18,9 @@ def self.result
map.each do |id, attr|
counts = attr[:counts]
code = attr[:code]
file = code.file.to_s
next unless code

file = code.file.to_s
next if file[0] == ?(

code.lines.to_a.drop(1).each_slice(2) do |line, _|
Expand Down

0 comments on commit 71a4094

Please sign in to comment.