Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make yes no prompts clearer #9

Merged

Conversation

scallister
Copy link
Contributor

@scallister scallister commented May 6, 2020

When initially using this library I got confused initially because I saw the YesNo function's second variable, yes bool and thought that meant "what should the yes value evaluate to". That had the opposite effect from what I had intended.

This updates the variable to make it a bit more clear what is happening in that second variable.

I also checked that go test still passes 馃憤.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 71.756% when pulling 09e32fb on scallister:scallister/make_yes_no_prompts_clearer into e9a4388 on Songmu:master.

@Songmu Songmu merged commit 34a8d61 into Songmu:master Jun 10, 2020
Songmu added a commit that referenced this pull request Aug 31, 2020
## [v0.4.0](v0.3.0...v0.4.0) (2020-09-01)

* Added support for using pipes with GO_PROMPTER_USE_PIPE [#8](#8) ([pyama86](https://github.com/pyama86))
* Make yes no prompts clearer [#9](#9) ([scallister](https://github.com/scallister))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants