We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4277e7 commit 74ec40bCopy full SHA for 74ec40b
src/modules/stackParser.ts
@@ -80,7 +80,7 @@ export default class StackParser {
80
* In some cases column number of the error stack trace frame would be less then 200, but source code is minified
81
* For this cases we need to check, that all of the lines to collect have length less than 200 too
82
*/
83
- for (const lineToCheck in lines.slice(lineFrom, lineTo)) {
+ lines.slice(lineFrom, lineTo).forEach((lineToCheck) => {
84
if (lineToCheck.length > minifiedSourceCodeThreshold) {
85
return null;
86
} else {
@@ -91,7 +91,7 @@ export default class StackParser {
91
92
extractedLineIndex += 1;
93
}
94
- }
+ });
95
96
return sourceCodeLines;
97
} catch (e) {
0 commit comments