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

Check the go-version being used in the pre-commit hook #1011

Merged
merged 3 commits into from
Sep 19, 2018

Conversation

chrisgilmerproj
Copy link
Contributor

Description

Because go@1.11 has different formatting rules than go@1.10 and its unclear how to fix this given the other output you get from gofmt.

Reviewer Notes

Was this previously a pre-commit hook? And if so, why was it taken out?

Setup

If you're running go@1.11 this should fail immediately.

Code Review Verification Steps

  • Request review from a member of a different team.

…1 has different formatting rules than go@1.10
Copy link

@dynamike dynamike left a comment

Choose a reason for hiding this comment

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

I assumed it was a pre-commit hook, but can't find a reference to it anywhere.

@chrisgilmerproj chrisgilmerproj merged commit 8735485 into master Sep 19, 2018
@chrisgilmerproj chrisgilmerproj deleted the cg_pre_commit_check_go_version branch September 19, 2018 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants