Comparing version 0.8.3 to 0.8.4
@@ -138,3 +138,5 @@ /** | ||
Prompt.prototype.getCurrentValue = function () { | ||
var choices = this.opt.choices.where({ checked: true }); | ||
var choices = this.opt.choices.filter(function( choice ) { | ||
return !!choice.checked && !choice.disabled; | ||
}); | ||
@@ -141,0 +143,0 @@ this.selection = _.pluck(choices, "name"); |
{ | ||
"name": "inquirer", | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"description": "A collection of common interactive command line user interfaces.", | ||
@@ -5,0 +5,0 @@ "main": "lib/inquirer.js", |
@@ -11,2 +11,4 @@ Inquirer.js | ||
<img align="right" alt="Inquirer Logo" src="/assets/inquirer_readme.png" title="Inquirer.js"/> | ||
We strive at providing easily embeddable and beautiful command line interface for Node.js; some hope in becoming the CLI Xanadu. | ||
@@ -294,2 +296,2 @@ | ||
Copyright (c) 2012 Simon Boudrias (twitter: @vaxilart) | ||
Licensed under the MIT license. | ||
Licensed under the MIT license. |
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
65843
1842
295