Skip to content

Commit

Permalink
remove empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
filfreire authored Feb 23, 2019
1 parent 51193bf commit bef2c67
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,13 @@ module.exports = function (grunt) {
})
return invalidFiles.length === 0
})


grunt.registerTask('validate', 'validate css bundle with W3C Jigsaw', function () {

const path = require('path');
var validate = require('css-validator');

const glob = require('glob');

let srcPath = '';
let css = '';
glob("*.css", {}, function (err, files) {

files.map(file => {
srcPath = path.join(__dirname + '/dist', file);
css = grunt.file.read(srcPath);
Expand All @@ -108,18 +102,11 @@ module.exports = function (grunt) {
} else {
done(false);
}

});
})

})




})


grunt.registerTask('default', ['sasslint', 'sass:dist', 'checkYear', 'validate']);
grunt.registerTask('rultor', ['sasslint', 'sass:dist', 'sass:uncompressed', 'checkYear', 'validate']);
grunt.registerTask('dev', ['sasslint', 'sass:dev', 'watch']);
Expand Down

0 comments on commit bef2c67

Please sign in to comment.