jsinstrument 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jsinstrument/instrumenter.rb +1 -1
- data/lib/jsinstrument/version.rb +1 -1
- metadata +1 -1
@@ -77,7 +77,7 @@ module JSInstrument
|
|
77
77
|
if parent.value.eql? node
|
78
78
|
instrumented_lines.add line
|
79
79
|
parent.value = get_hitline_call_block node
|
80
|
-
elsif parent.else.eql? node
|
80
|
+
elsif (parent.respond_to? :else) and parent.else.eql? node
|
81
81
|
instrumented_lines.add line
|
82
82
|
parent.else = get_hitline_call_block node
|
83
83
|
end
|
data/lib/jsinstrument/version.rb
CHANGED