From 13ac1eec4435516e586b6f2673792afef51f944d Mon Sep 17 00:00:00 2001 From: Rajat-0 Date: Fri, 2 Nov 2018 11:11:52 +0530 Subject: [PATCH] Changing permissions on "update-gofmt" script Changed permissions and added script run instruction in "verify-gofmt.sh" --- hack/update-gofmt.sh | 0 hack/verify-gofmt.sh | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 hack/update-gofmt.sh diff --git a/hack/update-gofmt.sh b/hack/update-gofmt.sh old mode 100644 new mode 100755 diff --git a/hack/verify-gofmt.sh b/hack/verify-gofmt.sh index 6b2122192d..ea04046a18 100755 --- a/hack/verify-gofmt.sh +++ b/hack/verify-gofmt.sh @@ -41,7 +41,7 @@ find_files() { GOFMT="gofmt -s" bad_files=$(find_files | xargs $GOFMT -l) if [[ -n "${bad_files}" ]]; then - echo "!!! '$GOFMT' needs to be run on the following files: " + echo "Please run hack/update-gofmt.sh to fix the following files:" echo "${bad_files}" exit 1 fi