mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Enable LTI in react-native
Summary: Changelog: [Internal] Reviewed By: panagosg7 Differential Revision: D41788271 fbshipit-source-id: 8e40dc3279ee0283b2845b9559a80862fdf59a17
This commit is contained in:
committed by
Facebook GitHub Bot
parent
62a28e4bdb
commit
ccefad049a
@@ -48,7 +48,7 @@ function parseErrorStack(errorStack?: string): Array<StackFrame> {
|
||||
? errorStack
|
||||
: global.HermesInternal
|
||||
? convertHermesStack(parseHermesStack(errorStack))
|
||||
: stacktraceParser.parse(errorStack).map(frame => ({
|
||||
: stacktraceParser.parse(errorStack).map((frame): StackFrame => ({
|
||||
...frame,
|
||||
column: frame.column != null ? frame.column - 1 : null,
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user