Skip to content

Commit 2c5fb90

Browse files
authored
[DI] Slight improvement to script-matching algorithm (#5695)
1 parent 5e899cb commit 2c5fb90

File tree

1 file changed

+1
-1
lines changed
  • packages/dd-trace/src/debugger/devtools_client

1 file changed

+1
-1
lines changed

packages/dd-trace/src/debugger/devtools_client/state.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ module.exports = {
8888
}
8989
}
9090

91-
return maxMatchLength > -1 ? bestMatch : null
91+
return maxMatchLength !== -1 ? bestMatch : null
9292
},
9393

9494
getStackFromCallFrames (callFrames) {

0 commit comments

Comments
 (0)