Skip to content

Commit

Permalink
Merge pull request #261 from 6utt3rfly/fix/260-name-of-undefined
Browse files Browse the repository at this point in the history
Fix #260 - name of undefined (line 379)
  • Loading branch information
LinusU committed Oct 29, 2019
2 parents e2fcc4c + 27ca2df commit a29a7e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source-map-support.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ function wrapCallSite(frame, state) {
frame = cloneCallSite(frame);
var originalFunctionName = frame.getFunctionName;
frame.getFunctionName = function() {
if (state.nextPosition === null) {
if (state.nextPosition == null) {
return originalFunctionName();
}
return state.nextPosition.name || originalFunctionName();
Expand Down

0 comments on commit a29a7e4

Please sign in to comment.