Hi, I’m stuck at the salon appointment project
Everything else is completed except for “If you pick a service that doesn’t exist, you should be shown the same list of services again”
The list IS showing again when you enter the wrong input, but I can’t pass the test. Here’s the relevant part of the code:
if [[ -z $SERVICE_ID_SEARCH || ! $SERVICE_ID_SELECTED =~ ^[0-9]+$ ]] then MAIN_MENU "\nI could not find that service. What would you like today?" fi
and that takes you back to printing out the menu and asking for the input
Am I doing something wrong?
edit: changed to update my current issue