Comparing version 2.1.2 to 2.1.3
@@ -72,2 +72,4 @@ "use strict"; | ||
return; | ||
if (!input[key] && !value.mandatory && !value.required) | ||
return; | ||
if ((value.mandatory || value.required) && !input[key]) { | ||
@@ -74,0 +76,0 @@ throwError(`Missing option: "--${key}"`); |
{ | ||
"name": "stdio", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "Standard input/output manager for Node.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
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
39321
693