lando/hyperdrive

Improper default option handling on first prompt

marklabrecque opened this issue · 0 comments

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:

  1. Run hyperdrive...
  2. 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'
  3. 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.