-
Notifications
You must be signed in to change notification settings - Fork 820
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(amplify-category-api): safeguard prompt with empty options (#2430)
when the CLI prompt the user to select from some options, it uses the inquirer library, and if the options are empty, inquirer throws error, which leads the CLI to exit without proper messages given to the user. This PR safeguard against such situation for the RDS selection, and it will print out proper error message before the CLI exits. fix #2423
- Loading branch information
1 parent
e168d1c
commit cb8f6dd
Showing
1 changed file
with
29 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters