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 16:58:02 -07:00
committed by GitHub
parent 197fbdd705
commit 0f40a810d1
2 changed files with 0 additions and 4 deletions
-2
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
-2
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:"