Skip to content

Commit

Permalink
Patron CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
mantzas committed Nov 17, 2024
1 parent e88a0f1 commit ddaac1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/gofmtcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Check gofmt
echo "==> Checking that code complies with gofmt requirements..."
gofmt_files=$(gofmt -l $(find . -not \( -path ./.git -prune \) -not \( -path ./vendor -prune \) -name '*.go'))
gofmt_files=$(gofmt -l $(find . -not \( -path ./.git -prune \) -not \( -path ./vendor -prune \) -not \( -path '*/vendor' -prune \) -name '*.go'))
if [[ -n ${gofmt_files} ]]; then
echo 'gofmt needs running on the following files:'
echo "${gofmt_files}"
Expand Down

0 comments on commit ddaac1d

Please sign in to comment.