From c1e720cc7e475c2f2afa24916630aef5f955b163 Mon Sep 17 00:00:00 2001 From: Ro Savage Date: Thu, 22 Mar 2018 03:18:45 +1100 Subject: [PATCH] Minor fixes to CI --- packages/react-error-overlay/src/effects/proxyConsole.js | 2 +- packages/react-error-overlay/src/utils/getStackFrames.js | 2 +- tasks/e2e-installs.sh | 1 - tasks/e2e-kitchensink.sh | 1 - tasks/e2e-monorepos.sh | 1 - tasks/e2e-simple.sh | 1 - 6 files changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/react-error-overlay/src/effects/proxyConsole.js b/packages/react-error-overlay/src/effects/proxyConsole.js index db270e9ddef..a1e8373a1bb 100644 --- a/packages/react-error-overlay/src/effects/proxyConsole.js +++ b/packages/react-error-overlay/src/effects/proxyConsole.js @@ -28,7 +28,7 @@ const registerReactStack = () => { // $FlowFixMe console.reactStack = frames => reactFrameStack.push(frames); // $FlowFixMe - console.reactStackEnd = frames => reactFrameStack.pop(); + console.reactStackEnd = () => reactFrameStack.pop(); } }; diff --git a/packages/react-error-overlay/src/utils/getStackFrames.js b/packages/react-error-overlay/src/utils/getStackFrames.js index 9721e316c52..b01c6ebaee5 100644 --- a/packages/react-error-overlay/src/utils/getStackFrames.js +++ b/packages/react-error-overlay/src/utils/getStackFrames.js @@ -13,7 +13,7 @@ import { unmap } from './unmapper'; function getStackFrames( error: Error, - unhandledRejection: boolean = false, + unhandledRejection: boolean = false, // eslint-disable-line contextSize: number = 3 ): Promise { const parsedFrames = parse(error); diff --git a/tasks/e2e-installs.sh b/tasks/e2e-installs.sh index e6723023372..ed014c58f35 100755 --- a/tasks/e2e-installs.sh +++ b/tasks/e2e-installs.sh @@ -75,7 +75,6 @@ root_path=$PWD if hash npm 2>/dev/null then npm i -g npm@latest - npm cache clean || npm cache verify fi # Bootstrap monorepo diff --git a/tasks/e2e-kitchensink.sh b/tasks/e2e-kitchensink.sh index 36a6f5058d4..fee4c61681f 100755 --- a/tasks/e2e-kitchensink.sh +++ b/tasks/e2e-kitchensink.sh @@ -68,7 +68,6 @@ root_path=$PWD if hash npm 2>/dev/null then npm i -g npm@latest - npm cache clean || npm cache verify fi # Bootstrap monorepo diff --git a/tasks/e2e-monorepos.sh b/tasks/e2e-monorepos.sh index 635badcf219..a84f98bd7fe 100755 --- a/tasks/e2e-monorepos.sh +++ b/tasks/e2e-monorepos.sh @@ -66,7 +66,6 @@ root_path=$PWD if hash npm 2>/dev/null then npm i -g npm@latest - npm cache clean || npm cache verify fi # Bootstrap create-react-app monorepo diff --git a/tasks/e2e-simple.sh b/tasks/e2e-simple.sh index 37e168dd7d2..c72eb3a552f 100755 --- a/tasks/e2e-simple.sh +++ b/tasks/e2e-simple.sh @@ -79,7 +79,6 @@ fi if hash npm 2>/dev/null then npm i -g npm@latest - npm cache clean || npm cache verify fi # Bootstrap monorepo