Comparing version 1.2.1 to 1.2.2
@@ -188,4 +188,6 @@ /** | ||
Prompt.prototype.toggleChoice = function (index) { | ||
var checked = this.opt.choices.getChoice(index).checked; | ||
this.opt.choices.getChoice(index).checked = !checked; | ||
var item = this.opt.choices.getChoice(index); | ||
if (item !== undefined) { | ||
this.opt.choices.getChoice(index).checked = !item.checked; | ||
} | ||
}; | ||
@@ -192,0 +194,0 @@ |
{ | ||
"name": "inquirer", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A collection of common interactive command line user interfaces.", | ||
@@ -5,0 +5,0 @@ "author": "Simon Boudrias <admin@simonboudrias.com>", |
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
68136
1825