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

Added an option to only show message and prevent “error: Invalid input for […]” from being shown #124

Closed
wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jul 31, 2015

(only if a message is set)

Sabri added 3 commits July 31, 2015 06:13
to prevent “error:  Invalid input for […]” from being shown (only if a
message is available)
@austencollins
Copy link

👍

@gangstead
Copy link
Member

Can you add a new test case so we know it's working?

Also can you not check in any changes that are purely formatting like: https://github.com/flatiron/prompt/pull/124/files#diff-3c1054acedccbe011b701520814527a9R56 and https://github.com/flatiron/prompt/pull/124/files#diff-3c1054acedccbe011b701520814527a9R639 ? That way the discussion can just be about the functionality of the new feature and not stylistic preferences.

@gangstead
Copy link
Member

This functionality was added in #118 , you'll now get "Invalid Input..." OR your message, not both. The only thing this PR did differently was also give you the option to show neither. If you really need the option to show neither message you can submit a new PR, but IMHO that'd be a bad design.

@gangstead gangstead closed this Feb 5, 2016
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