Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfeistel <6742251-feistel@users.noreply.gitlab.com>2022-01-26 20:44:25 +0300
committerfeistel <6742251-feistel@users.noreply.gitlab.com>2022-02-06 01:08:33 +0300
commitffd99e3590be251968f5904dcf0e5e6669b57632 (patch)
treeac0223bc0a5b341f174bd1a7fe72f3989eafe680 /Makefile.util.mk
parent69a5933a794cf0dd22367005cb3930e446c3d8c9 (diff)
build: improve mocks-check task diff pattern
Diffstat (limited to 'Makefile.util.mk')
-rw-r--r--Makefile.util.mk2
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 ""; \