mirror of
https://github.com/swift-server/swift-aws-lambda-runtime.git
synced 2026-06-02 07:27:33 +00:00
fix shell check
This commit is contained in:
@@ -31,11 +31,12 @@ check_prerequisites() {
|
||||
These values are read from '~/.aws/credentials'.
|
||||
"
|
||||
|
||||
read -r -p "Are you ready to create your first Lambda function in Swift? [y/n] " continue
|
||||
if [[ ! $continue =~ ^[Yy]$ ]]; then
|
||||
echo "OK, try again later when you feel ready"
|
||||
exit 1
|
||||
fi
|
||||
printf "Are you ready to create your first Lambda function in Swift? [y/n] "
|
||||
read -r continue
|
||||
case $continue in
|
||||
[Yy]*) ;;
|
||||
*) echo "OK, try again later when you feel ready"; exit 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
create_lambda_execution_role() {
|
||||
|
||||
Reference in New Issue
Block a user