Skip to content

Commit

Permalink
Revert "fix: function names are made to match package.json's format (#…
Browse files Browse the repository at this point in the history
…7988)" (#8051)

This reverts commit 25689dd.

Reverting as this breaks an E2E test, and if released, this could
break customers' automated workflows.

Co-authored-by: Colin Ihrig <colihrig@amazon.com>
  • Loading branch information
cjihrig and cjihrig-aws authored Aug 27, 2021
1 parent f7e62df commit b40faa7
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-z0-9]+$',
onErrorMsg: 'You can use the following characters: a-z 0-9',
value: '^[a-zA-Z0-9]+$',
onErrorMsg: 'You can use the following characters: a-z A-Z 0-9',
required: true,
}),
default: () => {
Expand Down

0 comments on commit b40faa7

Please sign in to comment.