mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-06-16 10:24:16 +08:00
Linting
This commit is contained in:
5
packages/react-dev-utils/failFast.js
vendored
5
packages/react-dev-utils/failFast.js
vendored
@@ -151,13 +151,12 @@
|
||||
// Revisit Jan 2016
|
||||
// https://developer.mozilla.org/en-US/Firefox/Releases/51#JavaScript
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1101653
|
||||
let index = 0
|
||||
let omittedFramesCount = 0
|
||||
for (let frame of resolvedFrames) {
|
||||
const {
|
||||
functionName,
|
||||
fileName, lineNumber, columnNumber,
|
||||
scriptLines,
|
||||
_scriptLines,
|
||||
sourceFileName, sourceLineNumber, sourceColumnNumber,
|
||||
sourceLines
|
||||
} = frame
|
||||
@@ -221,8 +220,6 @@
|
||||
}
|
||||
|
||||
trace.appendChild(elem)
|
||||
|
||||
++index
|
||||
}
|
||||
container.appendChild(trace)
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ function showErrorOverlay(message) {
|
||||
});
|
||||
}
|
||||
|
||||
function destroyErrorOverlay() {
|
||||
function destroyErrorOverlay() {
|
||||
if (!overlayDiv) {
|
||||
// It is not there in the first place.
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user