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

Fix typo #865

Merged
merged 1 commit into from
Feb 26, 2024
Merged

Fix typo #865

merged 1 commit into from
Feb 26, 2024

Conversation

takmar
Copy link
Contributor

@takmar takmar commented Dec 14, 2023

No description provided.

@@ -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
Copy link
Member

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:

Suggested change
# 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

Copy link
Contributor Author

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.

# "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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# 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

@rafaelfranca rafaelfranca merged commit 446a6bd into rails:main Feb 26, 2024
5 of 7 checks passed
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.

3 participants