Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/grunt-bootlint.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorChris Rebert <github@chrisrebert.com>2015-12-26 22:54:23 +0300
committerChris Rebert <github@chrisrebert.com>2015-12-26 22:54:23 +0300
commitf6c9fe442465f3f2e21b2d97b1c6b8c42bac3709 (patch)
treee802f618888af7fda67e2be3b60e90dd068c2089 /tasks
parentbe847f4eec8a9f95d4e814152e2619a5ce70ac18 (diff)
tasks/bootlint.js: Fix indentation
[ci skip]
Diffstat (limited to 'tasks')
-rw-r--r--tasks/bootlint.js12
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.');
}