Skip to content

Commit

Permalink
fix: function names are made to match package.json's format (aws-ampl…
Browse files Browse the repository at this point in the history
  • Loading branch information
studpeps committed Aug 25, 2021
1 parent 45303a3 commit 25689dd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ function generalQuestions(context: any): object[] {
message: 'Provide an AWS Lambda function name:',
validate: context.amplify.inputValidation({
operator: 'regex',
value: '^[a-zA-Z0-9]+$',
onErrorMsg: 'You can use the following characters: a-z A-Z 0-9',
value: '^[a-z0-9]+$',
onErrorMsg: 'You can use the following characters: a-z 0-9',
required: true,
}),
default: () => {
Expand Down

0 comments on commit 25689dd

Please sign in to comment.