new project: remove number options from select

This commit is contained in:
Austen Collins 2015-09-14 08:45:24 -07:00
parent 91afc6a84e
commit a8aac2d2c2

View File

@ -210,10 +210,10 @@ CMD.prototype._prompt = Promise.method(function() {
// Prompt: region select
var choices = [
{ key: '1) ', label: 'us-east-1', value: 'us-east-1' },
{ key: '2) ', label: 'us-west-1', value: 'us-west-1' },
{ key: '3) ', label: 'eu-west-1', value: 'eu-west-1' },
{ key: '4) ', label: 'ap-northeast-1', value: 'ap-northeast-1' },
{ key: '', label: 'us-east-1', value: 'us-east-1' },
{ key: '', label: 'us-west-1', value: 'us-west-1' },
{ key: '', label: 'eu-west-1', value: 'eu-west-1' },
{ key: '', label: 'ap-northeast-1', value: 'ap-northeast-1' },
];
return JawsCLI.select('Select a region for your project: ', choices, false)
@ -234,7 +234,7 @@ CMD.prototype._prompt = Promise.method(function() {
for (var i = 0; i < profiles.length; i++) {
choices.push({
key: (i + 1) + ') ',
key: '',
value: profiles[i],
label: profiles[i],
});