提交 81ad4dd6 编写于 作者: M Mislav Marohnić

Revert "[ci] Use `gofmt` to avoid `go fmt` downloading dependencies"

This reverts commit 75c54101.
上级 9712d70e
......@@ -32,8 +32,7 @@ STATUS=0
trap "exit 1" INT
check_formatting() {
gofmt -l -w . >/dev/null
git checkout -- vendor
make fmt >/dev/null
if ! git diff -U1 --exit-code; then
echo
echo "Some go code was not formatted properly." >&2
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册