未验证 提交 03ec383d 编写于 作者: T Thomas Strömberg 提交者: GitHub

Merge pull request #3213 from tstromberg/cherry-d569a

Output the gofmt diff as well as the affected files.
......@@ -51,6 +51,7 @@ set +e
files=$(gofmt -l -s . | grep -v ${ignore})
set -e
if [[ $files ]]; then
gofmt -d ${files}
echo "Gofmt errors in files: $files"
exit 1
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册