Merge pull request #1408 from Rajat-0/access

Changing permissions on "update-gofmt" script
This commit is contained in:
k8s-ci-robot 2018-11-16 01:00:27 -08:00 committed by GitHub
commit f1a11218bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

0
hack/update-gofmt.sh Normal file → Executable file
View File

View File

@ -41,7 +41,7 @@ find_files() {
GOFMT="gofmt -s" GOFMT="gofmt -s"
bad_files=$(find_files | xargs $GOFMT -l) bad_files=$(find_files | xargs $GOFMT -l)
if [[ -n "${bad_files}" ]]; then 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}" echo "${bad_files}"
exit 1 exit 1
fi fi