From e87e53017308e3307136e924f6247688b6f9fbdb Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Tue, 30 Mar 2021 08:47:25 +0900 Subject: [PATCH] Don't suggest a mutable reference to `rev` `pre-commit` don't recommend to use a mutable reference to `rev` and now shows a warning when `rev` is a mutable reference. Ref: https://github.com/pre-commit/pre-commit/pull/1715 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 108cca3..541a88a 100644 --- a/README.md +++ b/README.md @@ -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: # Get the latest from: https://github.com/dnephin/pre-commit-golang/releases hooks: - id: go-fmt - id: go-vet