validator / gulp-html

Gulp plugin for HTML validation, using the official Nu Html Checker (v.Nu)

Home Page:https://validator.github.io/gulp-html/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple files validation

Dilatorily opened this issue · comments

When multiple files are passed to the plugin, the the exec command is not formatted properly.
See the example below:

gulpfile.js

var gulp = require('gulp');
var validator = require('gulp-html');

gulp.task('default', function () {
    gulp.src('*.html').pipe(validator());
});

Here is the output if I put a console.log(vnu); on line 31 of index.js.

[05:22:09] Using gulpfile ~/Sources/temp/gulpfile.js
[05:22:09] Starting 'default'...
[05:22:09] Finished 'default' after 6.32 ms
java -jar /home/ehuylen/Sources/temp/node_modules/gulp-html/vnu/vnu.jar /home/ehuylen/Sources/temp/index.html
java -jar /home/ehuylen/Sources/temp/node_modules/gulp-html/vnu/vnu.jar /home/ehuylen/Sources/temp/index.html/home/ehuylen/Sources/temp/test.html