We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef98190 commit 5c83d14Copy full SHA for 5c83d14
client/utils/consoleUtils.js
@@ -61,8 +61,8 @@ export const getAllScriptOffsets = (htmlFile) => {
61
} else {
62
endFilenameInd = htmlFile.indexOf('.js', ind + startTag.length + 3);
63
filename = htmlFile.substring(ind + startTag.length, endFilenameInd);
64
- // the length of hijackConsoleErrorsScript is 37 lines
65
- lineOffset = htmlFile.substring(0, ind).split('\n').length + 37;
+ // the length of hijackConsoleErrorsScript is 36 lines
+ lineOffset = htmlFile.substring(0, ind).split('\n').length + 36;
66
offs.push([lineOffset, filename]);
67
lastInd = ind + 1;
68
}
0 commit comments