lint: ignore testrepo

This commit is contained in:
Shawn Smith
2021-06-04 17:48:38 +09:00
parent a2c8a0a395
commit 308cb6bb60

View File

@@ -1,6 +1,6 @@
#!/bin/bash
need_gofmt=$(gofmt -s -l `find . -name '*.go' | grep -v vendor | grep -v _repos`)
need_gofmt=$(gofmt -s -l `find . -name '*.go' | grep -v vendor | grep -v _repos | grep -v testrepo`)
if [[ -n ${need_gofmt} ]]; then
echo "These files fail gofmt -s:"