From 0f13f47269d8423cac4a40877ed14bfce78bf4d7 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Thu, 30 Jan 2020 23:42:29 +0000 Subject: [PATCH] ci:fix silly go check --- scripts/ci/check_scripts.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/ci/check_scripts.sh b/scripts/ci/check_scripts.sh index 90bc79597..e33dd0b6b 100755 --- a/scripts/ci/check_scripts.sh +++ b/scripts/ci/check_scripts.sh @@ -3,5 +3,7 @@ set -x set -e +GO111MODULE=on go get mvdan.cc/sh/v3/cmd/shfmt + # stop the build if there are any formatting errors -GO111MODULE=on pre-commit run --all-files shfmt +shfmt -l -d -i 2 -ci -w .