EvanLjp edited a comment on pull request #18:
URL:
https://github.com/apache/skywalking-satellite/pull/18#issuecomment-763579830
But in the history cases, the `go mod tidy` is not stable in the different
machines to add `// indirect`
how about following way?
```
check: clean
$(OUT_DIR)/$(BINARY)-$(VERSION)-$(OSNAME)-$(ARCH) docs
$(GO) mod tidy &> /dev/null
@if ! git status -s | grep -v '// indirect'; then \
echo "Following files are not consistent with CI:"; \
git status -s | grep -v '// indirect'; \
exit 1; \
fi
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]