Skip to content

Commit

Permalink
Light editing to scripts in hack/gofmt (#2236)
Browse files Browse the repository at this point in the history
* Update gofmt.sh

Removed duplicate shebang interpreter directive: `#!/bin/bash`

* Update boilerplate.sh

Removed duplicate shebang interpreter directive.
  • Loading branch information
MarkMoretto authored May 19, 2023
1 parent 197fbdd commit 0f40a81
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions hack/boilerplate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions hack/gofmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:"
Expand Down

0 comments on commit 0f40a81

Please sign in to comment.