From 0f40a810d1332829c0b17656e4839f9b1f7a83da Mon Sep 17 00:00:00 2001 From: Mark Moretto <25012707+MarkMoretto@users.noreply.github.com> Date: Fri, 19 May 2023 18:58:02 -0500 Subject: [PATCH] Light editing to scripts in hack/gofmt (#2236) * Update gofmt.sh Removed duplicate shebang interpreter directive: `#!/bin/bash` * Update boilerplate.sh Removed duplicate shebang interpreter directive. --- hack/boilerplate.sh | 2 -- hack/gofmt.sh | 2 -- 2 files changed, 4 deletions(-) diff --git a/hack/boilerplate.sh b/hack/boilerplate.sh index a1df91156..b8cdb96f2 100755 --- a/hack/boilerplate.sh +++ b/hack/boilerplate.sh @@ -14,8 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -#!/bin/bash - # Ignore these paths in the following tests. ignore="vendor\|out" BOILERPLATEDIR=./hack/boilerplate diff --git a/hack/gofmt.sh b/hack/gofmt.sh index 6433bdb43..802ae7f0c 100755 --- a/hack/gofmt.sh +++ b/hack/gofmt.sh @@ -15,8 +15,6 @@ # limitations under the License. -#!/bin/bash - files=$(find . -name "*.go" | grep -v vendor/ | xargs gofmt -l -s) if [[ $files ]]; then echo "Gofmt errors in files:"