Skip to content

Commit 7b74d56

Browse files
author
Juan Tejada
committed
Remove errorRecovery option
1 parent 4356347 commit 7b74d56

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/react-devtools-shared/src/hooks/parseHookNames/parseSourceAndMetadata.js

-1
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,6 @@ function parseSourceAST(
407407
'[@babel/parser] parse(originalSourceCode)',
408408
() =>
409409
parse(originalSourceCode, {
410-
errorRecovery: true,
411410
sourceType: 'unambiguous',
412411
plugins: ['jsx', plugin],
413412
}),

0 commit comments

Comments
 (0)