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:
authorZac Echola <zac.echola@gmail.com>2014-07-26 11:11:17 +0400
committerZac Echola <zac.echola@gmail.com>2014-07-26 11:11:17 +0400
commit84f1b21d60497c9eb17ab7ef5cf554e6e14917c3 (patch)
treefe24c972eeeb20e6f91398c9ec5963620197a63f /tasks
parent79b358c6770b22e30ca29426d04d77b3986ad0e4 (diff)
stoponerror can't work in a foreach, dummy; added more errors;
Diffstat (limited to 'tasks')
-rw-r--r--tasks/bootlint.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/tasks/bootlint.js b/tasks/bootlint.js
index 5819c97..3bb6e5a 100644
--- a/tasks/bootlint.js
+++ b/tasks/bootlint.js
@@ -30,7 +30,7 @@ module.exports = function(grunt) {
grunt.registerMultiTask('bootlint', 'An HTML linter for Bootstrap projects', function() {
var options = this.options({
- stoponerror: false
+ stoponerror: true // not implemented yet...
});
// Iterate over all specified file groups.
@@ -53,7 +53,6 @@ module.exports = function(grunt) {
errs.forEach(function (msg) {
grunt.log.warn(filepath + ':', msg.error);
- if (options.stoponerror) return;
});
});