mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
new project: remove number options from select
This commit is contained in:
parent
91afc6a84e
commit
a8aac2d2c2
@ -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],
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user