Skip to content

Fix issue #81: do not return err if 'n' is chosen in confirm prompt#221

Open
giulianopz wants to merge 1 commit intomanifoldco:masterfrom
giulianopz:fix/issue-81
Open

Fix issue #81: do not return err if 'n' is chosen in confirm prompt#221
giulianopz wants to merge 1 commit intomanifoldco:masterfrom
giulianopz:fix/issue-81

Conversation

@giulianopz
Copy link
Copy Markdown

The 'n' user input should not be considered an error in a yes/no question. Instead, simply return 'y' or 'n' if chosen.
Allow empty string only if default is set and return it. Otherwise return err.

…m prompt

The 'n' user input should not be considered an error in a yes/no question.
Instead, simply return 'y' or 'n' if chosen.
Allow empty string only if default is set and return it.
Otherwise return err.
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 6, 2025

CLA assistant check
All committers have signed the CLA.

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