Revert lint-related changes made in #4193 (#4211)

This commit is contained in:
Minh Nguyen
2018-03-26 01:03:23 +01:00
committed by Ian Sutherland
parent 8a34b7cc77
commit 8db5e336b1
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ const registerReactStack = () => {
// $FlowFixMe
console.reactStack = frames => reactFrameStack.push(frames);
// $FlowFixMe
console.reactStackEnd = () => reactFrameStack.pop();
console.reactStackEnd = frames => reactFrameStack.pop();
}
};

View File

@@ -13,7 +13,7 @@ import { unmap } from './unmapper';
function getStackFrames(
error: Error,
unhandledRejection: boolean = false, // eslint-disable-line
unhandledRejection: boolean = false,
contextSize: number = 3
): Promise<StackFrame[] | null> {
const parsedFrames = parse(error);