-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix init --dev double prompting bug (#5563)
# Description Today we double prompt a user for an environment name during `rad init --dev` This was because at one point there was a noninteractive mode for `SelectExistingEnvironment`, which was removed. That meant we always interactively prompted instead of choosing "default". This PR updates the --dev logic to choose "default" if available, else prompt the user if there is no default, dev environment. ## Issue reference Fixes: #5527 ## Checklist Please make sure you've completed the relevant tasks for this PR, out of the following list: * [x] Code compiles correctly * [ ] Adds necessary unit tests for change * [ ] Adds necessary E2E tests for change * [ ] Unit tests passing * [x] Extended the documentation / Created issue for it
- Loading branch information
1 parent
bec8072
commit 3d585ee
Showing
2 changed files
with
33 additions
and
11 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
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