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 printf error on bash launch #5642

Merged
merged 1 commit into from
Jan 29, 2019
Merged

Fix printf error on bash launch #5642

merged 1 commit into from
Jan 29, 2019

Conversation

hmnd
Copy link
Contributor

@hmnd hmnd commented Jan 29, 2019

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully run brew style with your changes locally?
  • Have you successfully run brew tests with your changes locally?

Fixes error found in this issue.

@MikeMcQuaid MikeMcQuaid reopened this Jan 29, 2019
@@ -58,7 +58,7 @@ git() {
numeric() {
# Condense the exploded argument into a single return value.
# shellcheck disable=SC2086,SC2183
printf "%01d%02d%02d%02d" ${1//./ }
printf "%01d%02d%02d%02d" ${1//[.rc]/ }
Copy link
Member

Choose a reason for hiding this comment

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

What's the output intended for this to parse that it currently doesn't? Thanks!

Copy link
Member

Choose a reason for hiding this comment

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

Read the issue. Not the ideal fix but seems fine 👍

Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

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

Thanks so much for your first contribution! Without people like you submitting PRs we couldn't run this project. You rock, @hmnd!

@MikeMcQuaid MikeMcQuaid merged commit d607fdf into Homebrew:master Jan 29, 2019
@hmnd hmnd deleted the patch-1 branch January 31, 2019 05:48
@lock lock bot added the outdated PR was locked due to age label Mar 2, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants