diff options
Diffstat (limited to 'scripts/gofmtcheck.sh')
-rwxr-xr-x | scripts/gofmtcheck.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gofmtcheck.sh b/scripts/gofmtcheck.sh index 1c05581..3856e52 100755 --- a/scripts/gofmtcheck.sh +++ b/scripts/gofmtcheck.sh | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | # Check gofmt | 3 | # Check gofmt |
4 | echo "==> Checking that code complies with gofmt requirements..." | 4 | echo "==> Checking that code complies with gofmt requirements..." |
5 | gofmt_files=$(gofmt -l `find . -name '*.go' | grep -v vendor`) | 5 | gofmt_files=$(gofmt -l "$(find . -name '*.go' | grep -v vendor)") |
6 | if [[ -n ${gofmt_files} ]]; then | 6 | if [[ -n ${gofmt_files} ]]; then |
7 | echo 'gofmt needs running on the following files:' | 7 | echo 'gofmt needs running on the following files:' |
8 | echo "${gofmt_files}" | 8 | echo "${gofmt_files}" |