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.
This commit is contained in:
Mark Moretto 2023-05-19 18:58:02 -05:00 committed by GitHub
parent 197fbdd705
commit 0f40a810d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -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:"