Skip to content

Commit 4cddb81

Browse files
committed
1.5.2 - bug fix
1 parent 8becef0 commit 4cddb81

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

bin/cmd.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ function detectUserOptions () {
107107
let outputPath = program.output;
108108
let userOptions = {
109109
output: false,
110-
exec: {}
110+
exec: {},
111+
filterfile: program.filterfile,
112+
filterpattern: program.filterpattern
111113
};
112114

113115
cliProps.forEach((prop) => {

lib/validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function getArgvFromObject (options) {
124124
}
125125

126126
if (options.filterpattern) {
127-
argv.push(`--filterpattern ${options.filterpattern}`);
127+
argv.push(`--filterpattern ${options.filterpattern}`);
128128
}
129129

130130
if (options.buffersize) {

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-w3c-validator",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"description": "Wrapper for The Nu Html Checker (v.Nu)",
55
"main": "./lib/validator.js",
66
"scripts": {

0 commit comments

Comments
 (0)