Open shaicantor opened 8 years ago
Did you ever follow-up on this issue in the new monorepo @shaicantor? This is the only relevant Issue I could find ...
@seanpoulter, no. We moved to nyc and istanbul-lib-instrument. If I'm not mistaken, it has the same issue there as well.
Yea, istanbul-lib-instrument has the same behavior. I've opened istanbuljs/istanbuljs#130 with the same name. Thanks @shaicantor.
Hi there,
In the instrumenter code while walking on an if statement node and building the branch map I've noticed that the else statement locations is always the same as the if statement locations. Why is that?
The code that does this is located here - https://github.com/gotwarlost/istanbul/blob/master/lib/instrumenter.js#L978