Skip to content

Commit

Permalink
Revert "fix: function names are made to match package.json's format (a…
Browse files Browse the repository at this point in the history
…ws-amplify#7988)" (aws-amplify#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
2 people authored and marcvberg committed Oct 13, 2021
1 parent 8c18b64 commit 0d0e889
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 0d0e889

Please sign in to comment.