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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for EOF when asking questions #311

Merged
merged 2 commits into from
Nov 23, 2022
Merged

Conversation

marcospb19
Copy link
Member

When invoking Ouch from shell scripts, it is likely that questions will
be left unanswered with EOF, this PR adds a check to prevent Ouch
from interpreting EOF as Yes in Y/N questions.

image

@figsoda
Copy link
Member

figsoda commented Nov 23, 2022

looks like theres an issue with tests, might need to add -y to the ouch calls

when invoking Ouch from shell scripts, it is likely that questions will
be left unanswered with EOF, this commit fixes Ouch interpreting EOF as
Yes in Y/N questions
@figsoda figsoda merged commit d1477e2 into main Nov 23, 2022
@figsoda figsoda deleted the check-eof-when-asking-question branch November 23, 2022 04:22
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.

2 participants