@microsoft/ts-command-line
Advanced tools
Comparing version 4.3.2 to 4.3.3
@@ -5,2 +5,14 @@ { | ||
{ | ||
"version": "4.3.3", | ||
"tag": "@microsoft/ts-command-line_v4.3.3", | ||
"date": "Fri, 18 Oct 2019 15:15:00 GMT", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "Fix Choice parameter error when only one alternative value is provided" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"version": "4.3.2", | ||
@@ -7,0 +19,0 @@ "tag": "@microsoft/ts-command-line_v4.3.2", |
# Change Log - @microsoft/ts-command-line | ||
This log was last generated on Sun, 29 Sep 2019 23:56:29 GMT and should not be manually modified. | ||
This log was last generated on Fri, 18 Oct 2019 15:15:00 GMT and should not be manually modified. | ||
## 4.3.3 | ||
Fri, 18 Oct 2019 15:15:00 GMT | ||
### Patches | ||
- Fix Choice parameter error when only one alternative value is provided | ||
## 4.3.2 | ||
@@ -6,0 +13,0 @@ Sun, 29 Sep 2019 23:56:29 GMT |
@@ -132,3 +132,3 @@ "use strict"; | ||
this._value = undefined; | ||
if (definition.alternatives.length <= 1) { | ||
if (definition.alternatives.length < 1) { | ||
throw new Error(`When defining a choice parameter, the alternatives list must contain at least one value.`); | ||
@@ -135,0 +135,0 @@ } |
{ | ||
"name": "@microsoft/ts-command-line", | ||
"version": "4.3.2", | ||
"version": "4.3.3", | ||
"description": "An object-oriented command-line parser for TypeScript", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
216704
3072