-
Notifications
You must be signed in to change notification settings - Fork 735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: do not crash in wrangler dev
if user has multiple accounts
#1293
Merged
petebacondarwin
merged 11 commits into
cloudflare:main
from
petebacondarwin:account-selector-dev
Jun 22, 2022
Merged
fix: do not crash in wrangler dev
if user has multiple accounts
#1293
petebacondarwin
merged 11 commits into
cloudflare:main
from
petebacondarwin:account-selector-dev
Jun 22, 2022
Commits on Jun 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 04ac454 - Browse repository at this point
Copy the full SHA 04ac454View commit details -
Configuration menu - View commit details
-
Copy full SHA for 685a5aa - Browse repository at this point
Copy the full SHA 685a5aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7073409 - Browse repository at this point
Copy the full SHA 7073409View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cd6000 - Browse repository at this point
Copy the full SHA 9cd6000View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac6add3 - Browse repository at this point
Copy the full SHA ac6add3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b024898 - Browse repository at this point
Copy the full SHA b024898View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b71790 - Browse repository at this point
Copy the full SHA 2b71790View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f7a93c - Browse repository at this point
Copy the full SHA 7f7a93cView commit details -
fix: do not crash in
wrangler dev
if user has multiple accountsWhen a user has multiple accounts we show a prompt to allow the user to select which they should use. This was broken in wrangler dev as we were trying to start a new ink.js app (to show the prompt) from inside a running ink.js app (the UI for wrangler dev). This fix refactors the ChooseAccount component so that it can be used directly within another component. Fixes cloudflare#1258
Configuration menu - View commit details
-
Copy full SHA for 6430838 - Browse repository at this point
Copy the full SHA 6430838View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89e4a33 - Browse repository at this point
Copy the full SHA 89e4a33View commit details -
fix: do not hang waiting for account choice when in non-interactive mode
The previous tests for non-interactive only checked the stdin.isTTY, but you can have scenarios where the stdin is interactive but the stdout is not. For example when writing the output of a `kv:key get` command to a file. We now check that both stdin and stdout are interactive before trying to interact with the user.
Configuration menu - View commit details
-
Copy full SHA for 60fcf59 - Browse repository at this point
Copy the full SHA 60fcf59View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.