mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-09 11:35:55 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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:"
|
||||
|
||||
Reference in New Issue
Block a user