Skip to content

Commit 79af0fc

Browse files
committed
Ignore null files, too
1 parent ab81262 commit 79af0fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/react-error-overlay/src/utils/errorRegister.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function consume(
3636
if (
3737
enhancedFrames
3838
.map(f => f._originalFileName)
39-
.filter(f => f == null || f.indexOf('node_modules') === -1).length === 0
39+
.filter(f => f != null && f.indexOf('node_modules') === -1).length === 0
4040
) {
4141
return null;
4242
}

0 commit comments

Comments
 (0)