-
Notifications
You must be signed in to change notification settings - Fork 554
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 typo #865
Fix typo #865
Conversation
lib/thor/shell/basic.rb
Outdated
@@ -143,14 +143,14 @@ def say_status(status, message, log_status = true) | |||
stdout.flush | |||
end | |||
|
|||
# Make a question the to user and returns true if the user replies "y" or | |||
# Make a question to the user and returns true if the user replies "y" or |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While we are changing this we can improve the sentences a bot as well:
# Make a question to the user and returns true if the user replies "y" or | |
# Asks the user a question and returns true if the user replies "y" or |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your review! I fixed it.
lib/thor/shell/basic.rb
Outdated
# "yes". | ||
# | ||
def yes?(statement, color = nil) | ||
!!(ask(statement, color, add_to_history: false) =~ is?(:yes)) | ||
end | ||
|
||
# Make a question the to user and returns true if the user replies "n" or | ||
# Make a question to the user and returns true if the user replies "n" or |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Make a question to the user and returns true if the user replies "n" or | |
# Asks the user a question and returns true if the user replies "n" or |
No description provided.