Comparing version 1.7.0 to 1.7.1
@@ -84,3 +84,8 @@ var Command, Option, Signature, _, parse, settings, state, utils; | ||
} | ||
parsedOptions = _this._parseOptions(args.options); | ||
try { | ||
parsedOptions = _this._parseOptions(args.options); | ||
} catch (_error) { | ||
error = _error; | ||
return typeof callback === "function" ? callback(error) : void 0; | ||
} | ||
return _this.applyPermissions(function(error) { | ||
@@ -87,0 +92,0 @@ if (error != null) { |
{ | ||
"name": "capitano", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Powerful, non opitionated command line parser for serious applications", | ||
@@ -5,0 +5,0 @@ "main": "build/capitano.js", |
@@ -429,2 +429,6 @@ Capitano | ||
### 1.7.1 | ||
- Fix required options errors being thrown synchronously. | ||
### 1.7.0 | ||
@@ -431,0 +435,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
141806
766
522