Skip to content

Commit

Permalink
Revert lint-related changes made in #4193 (#4211)
Browse files Browse the repository at this point in the history
  • Loading branch information
NMinhNguyen authored and iansu committed Mar 26, 2018
1 parent 8a34b7c commit 8db5e33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-error-overlay/src/effects/proxyConsole.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const registerReactStack = () => {
// $FlowFixMe
console.reactStack = frames => reactFrameStack.push(frames);
// $FlowFixMe
console.reactStackEnd = () => reactFrameStack.pop();
console.reactStackEnd = frames => reactFrameStack.pop();
}
};

Expand Down
2 changes: 1 addition & 1 deletion packages/react-error-overlay/src/utils/getStackFrames.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8db5e33

Please sign in to comment.