Prechádzať zdrojové kódy

Merge pull request #13538 from narqo/circleci-fix-gofmt-test

fix gofmt tests output
Torkel Ödegaard 7 rokov pred
rodič
commit
3c6a6e69a6
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      scripts/circle-test-backend.sh

+ 1 - 1
scripts/circle-test-backend.sh

@@ -11,7 +11,7 @@ function exit_if_fail {
 }
 
 echo "running go fmt"
-exit_if_fail test -z "$(gofmt -s -l ./pkg | tee /dev/stderr)"
+exit_if_fail test -z \"'$(gofmt -s -l ./pkg | tee /dev/stderr)'\"
 
 echo "building backend with install to cache pkgs"
 exit_if_fail time go install ./pkg/cmd/grafana-server