dep-validate
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -113,8 +113,8 @@ var PluginError = require('gulp-util').PluginError; | ||
function () { | ||
var validateOpts = opts.options || {}; | ||
var baseFile = opts.packageFile; | ||
interimFiles.forEach(function (file) { | ||
validateOpts.packageFile = file; | ||
opts.packageFile = file; | ||
var results = validate(validateOpts); | ||
var results = validate(opts); | ||
@@ -127,2 +127,4 @@ if (hasErrors(results)) { | ||
opts.packageFile = baseFile; | ||
if (failOnError && failedValidations.length) { | ||
@@ -129,0 +131,0 @@ this.emit('error', new PluginError('dep-validate', 'Unable to validate dependencies')); |
{ | ||
"name": "dep-validate", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Dependency verification for npm packages with Gulp support", | ||
@@ -5,0 +5,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12931
221