diff options
Diffstat (limited to 'Makefile.util.mk')
-rw-r--r-- | Makefile.util.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.util.mk b/Makefile.util.mk index 91da83aa..e9abe846 100644 --- a/Makefile.util.mk +++ b/Makefile.util.mk @@ -50,7 +50,7 @@ deps-check: .GOPATH/.ok fi; mocks-check: .GOPATH/.ok generate-mocks - @if git diff --color=always --exit-code; then \ + @if git diff --color=always --exit-code -- *_mock.go; then \ echo "mocks are ok"; \ else \ echo ""; \ |