Improper default option handling on first prompt
marklabrecque opened this issue · 0 comments
marklabrecque commented
Describe the bug
When the initial system analysis is done, there is a prompt to confirm continuing with installation followed by a [Y/n]. The capital Y would suggest the default option (ie if you confirm without any character input), but this script fails when you enter no input.
To Reproduce
Steps to reproduce the behavior:
- Run
hyperdrive...
- When the prompt "Do you wish for this script to take the recommended actions marked above? [Y/n]", hit Enter, assuming default option of 'Y'
- Script fails to continue with the message "Invalid response..."
Expected behavior
The prompt should accept a default option as "Y"
Operating System and version:
Ubuntu 20.04 via WSL2
Additional context
Add any other context about the problem here.