MM-45967: Print diff output in go mod tidy (#21984)

https://mattermost.atlassian.net/browse/MM-45967

```release-note
NONE
```
Этот коммит содержится в:
Agniva De Sarker
2023-01-05 19:33:14 +05:30
коммит произвёл GitHub
родитель 6b41f914cc
Коммит 1078292ac6

Просмотреть файл

@@ -140,7 +140,7 @@ jobs:
command: |
cd mattermost-server
make modules-tidy
if [[ -n $(git status --porcelain) ]]; then echo "Please tidy up the Go modules using make modules-tidy"; exit 1; fi
if [[ -n $(git status --porcelain) ]]; then echo "Please tidy up the Go modules using make modules-tidy"; git diff; exit 1; fi
check-store-layers:
docker:
- image: cimg/go:1.18