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
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2015-11-18 22:16:31 +0300
committerXhmikosR <xhmikosr@gmail.com>2015-11-18 22:16:31 +0300
commit8a07c8fab96d7d1e9588a1af9cc16d6ff2163926 (patch)
tree239f2311929ec87058ea56d7ebd369c799bb2166
parentd9f2fc3e39e7df5d7e508f8ddbddd44737c699ab (diff)
Remove unneeded trailing space in error message.
-rw-r--r--tasks/bootlint.js2
-rw-r--r--test/bootlint_test.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/tasks/bootlint.js b/tasks/bootlint.js
index a0ef01c..71f7595 100644
--- a/tasks/bootlint.js
+++ b/tasks/bootlint.js
@@ -78,7 +78,7 @@ module.exports = function(grunt) {
grunt.log.writeln().fail(totalErrCount + " lint error(s) found across " + totalFileCount + " file(s).");
grunt.log.writeln().fail('For details, look up the lint problem IDs in the Bootlint wiki: https://github.com/twbs/bootlint/wiki');
} else if (totalErrCount > 0 && options.showallerrors) {
- grunt.fail.warn(totalErrCount + " lint error(s) found across " + totalFileCount + " file(s). ");
+ grunt.fail.warn(totalErrCount + " lint error(s) found across " + totalFileCount + " file(s).");
} else {
grunt.log.ok(totalFileCount + ' file(s) lint free.');
}
diff --git a/test/bootlint_test.js b/test/bootlint_test.js
index e3f0317..eaccdc5 100644
--- a/test/bootlint_test.js
+++ b/test/bootlint_test.js
@@ -104,7 +104,7 @@ exports.bootlint = {
grunt: true,
args: ['bootlint:showallerrors', '--no-color'],
}, function(err, result) {
- test.ok(result.stdout.indexOf("8 lint error(s) found across 3 file(s). Use --force to continue.") >= 0,
+ test.ok(result.stdout.indexOf("8 lint error(s) found across 3 file(s). Use --force to continue.") >= 0,
'Should show all errors before hard fail.');
test.done();
});
@@ -115,7 +115,7 @@ exports.bootlint = {
grunt: true,
args: ['bootlint:showallerrorswithstop', '--no-color'],
}, function(err, result) {
- test.ok(result.stdout.indexOf("8 lint error(s) found across 3 file(s). Use --force to continue.") >= 0,
+ test.ok(result.stdout.indexOf("8 lint error(s) found across 3 file(s). Use --force to continue.") >= 0,
'Should show all errors before hard fail even if stopon* is set.');
test.done();
});