diff --git a/build/goimports.sh b/build/goimports.sh index 29f7ea9112..6d67ef1f0f 100755 --- a/build/goimports.sh +++ b/build/goimports.sh @@ -13,5 +13,6 @@ find_files() { } GOFMT="gofmt -s -w"; -GOFMT="goimports -w"; -find_files | xargs $GOFMT; \ No newline at end of file +GOIMPORTS="goimports -w"; +find_files | xargs $GOFMT; +find_files | xargs $GOIMPORTS; \ No newline at end of file