mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-13 09:00:30 +08:00
Minor fixes to CI (#4193)
This commit is contained in:
@@ -28,7 +28,7 @@ const registerReactStack = () => {
|
||||
// $FlowFixMe
|
||||
console.reactStack = frames => reactFrameStack.push(frames);
|
||||
// $FlowFixMe
|
||||
console.reactStackEnd = frames => reactFrameStack.pop();
|
||||
console.reactStackEnd = () => reactFrameStack.pop();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user