diff options
author | Chris Rebert <github@chrisrebert.com> | 2015-12-26 22:54:23 +0300 |
---|---|---|
committer | Chris Rebert <github@chrisrebert.com> | 2015-12-26 22:54:23 +0300 |
commit | f6c9fe442465f3f2e21b2d97b1c6b8c42bac3709 (patch) | |
tree | e802f618888af7fda67e2be3b60e90dd068c2089 | |
parent | be847f4eec8a9f95d4e814152e2619a5ce70ac18 (diff) |
tasks/bootlint.js: Fix indentation
[ci skip]
-rw-r--r-- | tasks/bootlint.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tasks/bootlint.js b/tasks/bootlint.js index 9208662..feeaf21 100644 --- a/tasks/bootlint.js +++ b/tasks/bootlint.js @@ -77,12 +77,12 @@ module.exports = function(grunt) { var fileStr = grunt.util.pluralize(totalFileCount, 'file/files'); if (totalErrCount > 0) { - if (options.showallerrors) { - grunt.fail.warn(totalErrCount + ' lint ' + errorStr + ' found across ' + totalFileCount + ' ' + fileStr + '.'); - } else { - grunt.log.writeln().fail(totalErrCount + ' lint ' + errorStr + ' found across ' + totalFileCount + ' ' + fileStr + '.'); - grunt.log.writeln().fail('For details, look up the lint problem IDs in the Bootlint wiki: https://github.com/twbs/bootlint/wiki'); - } + if (options.showallerrors) { + grunt.fail.warn(totalErrCount + ' lint ' + errorStr + ' found across ' + totalFileCount + ' ' + fileStr + '.'); + } else { + grunt.log.writeln().fail(totalErrCount + ' lint ' + errorStr + ' found across ' + totalFileCount + ' ' + fileStr + '.'); + grunt.log.writeln().fail('For details, look up the lint problem IDs in the Bootlint wiki: https://github.com/twbs/bootlint/wiki'); + } } else { grunt.log.ok(totalFileCount + ' ' + fileStr + ' lint free.'); } |