har-validator
Advanced tools
Comparing version 1.3.1 to 1.4.0
{ | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"name": "har-validator", | ||
@@ -4,0 +4,0 @@ "description": "Extremely fast HTTP Archive (HAR) validator using JSON Schema", |
@@ -29,5 +29,3 @@ 'use strict' | ||
if (!cb) { | ||
if (validate.errors) { | ||
return valid | ||
} | ||
return validate.errors ? false : true | ||
} else { | ||
@@ -34,0 +32,0 @@ return cb(validate.errors ? new ValidationError(validate.errors) : null, valid) |
18432
244