Skip to content

Commit

Permalink
Fix lint script
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Mar 12, 2020
1 parent 8b417e6 commit f3eabae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lint/lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const {

const hasFixable = fixableErrorCount || fixableWarningCount;

if (fix && hasFixable) {
if (fix) {
CLIEngine.outputFixes(report);
}

Expand All @@ -48,7 +48,7 @@ if (errorCount || warningCount) {

if (hasFixable) {
console.log();
console.log('You may also want run `npm run lint <file> --fix` to fix fixable problems.');
console.log('You may also want run `npm run lint [file] --fix` to fix fixable problems.');
}

console.log();
Expand Down

0 comments on commit f3eabae

Please sign in to comment.