mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-29 01:45:40 +08:00
Lint internal scripts with eslint:recommended (#1729)
* Lint internal scripts with eslint:recommended * Warnings r bad
This commit is contained in:
4
packages/react-scripts/bin/react-scripts.js
vendored
4
packages/react-scripts/bin/react-scripts.js
vendored
@@ -14,13 +14,13 @@ case 'test':
|
||||
{stdio: 'inherit'}
|
||||
);
|
||||
if (result.signal) {
|
||||
if (result.signal == 'SIGKILL') {
|
||||
if (result.signal === 'SIGKILL') {
|
||||
console.log(
|
||||
'The build failed because the process exited too early. ' +
|
||||
'This probably means the system ran out of memory or someone called ' +
|
||||
'`kill -9` on the process.'
|
||||
);
|
||||
} else if (result.signal == 'SIGTERM') {
|
||||
} else if (result.signal === 'SIGTERM') {
|
||||
console.log(
|
||||
'The build failed because the process exited too early. ' +
|
||||
'Someone might have called `kill` or `killall`, or the system could ' +
|
||||
|
||||
Reference in New Issue
Block a user