mirror of
https://github.com/gojp/goreportcard.git
synced 2026-01-28 22:39:05 +08:00
lint: ignore testrepo
This commit is contained in:
@@ -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:"
|
||||
|
||||
Reference in New Issue
Block a user