mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
Fix CI
This commit is contained in:
4
packages/react-dev-utils/eslintFormatter.js
vendored
4
packages/react-dev-utils/eslintFormatter.js
vendored
@@ -13,9 +13,6 @@ function isError(message) {
|
||||
function formatter(results) {
|
||||
let output = '\n';
|
||||
|
||||
let hasErrors = false;
|
||||
let hasWarnings = false;
|
||||
|
||||
results.forEach(result => {
|
||||
let messages = result.messages;
|
||||
if (messages.length === 0) {
|
||||
@@ -30,7 +27,6 @@ function formatter(results) {
|
||||
hasErrors = true;
|
||||
} else {
|
||||
messageType = 'warn';
|
||||
hasWarnings = true;
|
||||
}
|
||||
|
||||
let line = message.line || 0;
|
||||
|
||||
Reference in New Issue
Block a user