Fix gofmt.sh

This commit is contained in:
Michael Wolf
2023-09-30 20:59:19 -06:00
parent 43688e8615
commit 5c987ae777

View File

@@ -37,7 +37,7 @@ if [[ "$WOULD_REFORMAT" = "would_reformat" ]]; then
fi
if [[ "$WOULD_REFORMAT" = "do_reformat" ]]; then
out=$(npx prettier --write "$file" 2>&1 >/dev/null)
out=$(gofmt -w "$file" 2>&1 >/dev/null)
retval="$?"
echo "$out"