Clean up eager component stack regexes
Summary: Clean up from a previous diff. Changelog: [Internal] Reviewed By: motiz88 Differential Revision: D23475250 fbshipit-source-id: 3f390134e684bbe95b584dc01b8272a29cecc0af
This commit is contained in:
Родитель
b5b4a70410
Коммит
87b91c057c
|
@ -131,8 +131,8 @@ export function parseInterpolation(
|
|||
}
|
||||
|
||||
function isComponentStack(consoleArgument: string) {
|
||||
const isOldComponentStackFormat = /\s{4}in/.test(consoleArgument);
|
||||
const isNewComponentStackFormat = /\s{4}at/.test(consoleArgument);
|
||||
const isOldComponentStackFormat = / {4}in/.test(consoleArgument);
|
||||
const isNewComponentStackFormat = / {4}at/.test(consoleArgument);
|
||||
const isNewJSCComponentStackFormat = /@.*\n/.test(consoleArgument);
|
||||
|
||||
return (
|
||||
|
|
Загрузка…
Ссылка в новой задаче