From ab0dcec27d917445851a275f7e0c5896d8a0dd82 Mon Sep 17 00:00:00 2001 From: Thomas Modeneis Date: Fri, 6 Apr 2018 17:04:10 +0200 Subject: [PATCH] build: update script goimports+gofmt --- build/goimports.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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