Minor fixes to CI (#4193)

This commit is contained in:
Ro Savage
2018-03-22 05:55:35 +11:00
committed by Joe Haddad
parent e76f36085c
commit b2fd8db8bd
6 changed files with 2 additions and 6 deletions

View File

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

View File

@@ -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<StackFrame[] | null> {
const parsedFrames = parse(error);

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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