Skip to content

Commit

Permalink
Don't suggest a mutable reference to rev
Browse files Browse the repository at this point in the history
`pre-commit` don't recommend to use a mutable reference to `rev` and
now shows a warning when `rev` is a mutable reference.
Ref: pre-commit/pre-commit#1715
  • Loading branch information
y-yagi committed Mar 29, 2021
1 parent ac0f658 commit e87e530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -9,7 +9,7 @@ golang hooks for http://pre-commit.com/
Add this to your `.pre-commit-config.yaml`

- repo: git://github.com/dnephin/pre-commit-golang
rev: master
rev: <VERSION> # Get the latest from: https://github.com/dnephin/pre-commit-golang/releases
hooks:
- id: go-fmt
- id: go-vet
Expand Down

0 comments on commit e87e530

Please sign in to comment.