diff options
Diffstat (limited to 'vendor/github.com/PuerkitoBio/goquery/misc/git/pre-commit')
-rwxr-xr-x | vendor/github.com/PuerkitoBio/goquery/misc/git/pre-commit | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/vendor/github.com/PuerkitoBio/goquery/misc/git/pre-commit b/vendor/github.com/PuerkitoBio/goquery/misc/git/pre-commit index 6a3d798..78e4331 100755 --- a/vendor/github.com/PuerkitoBio/goquery/misc/git/pre-commit +++ b/vendor/github.com/PuerkitoBio/goquery/misc/git/pre-commit @@ -18,21 +18,6 @@ gosimple $(go list ./... | grep -v /vendor/) echo "<<< gosimple" echo -echo ">>> staticcheck" -staticcheck $(go list ./... | grep -v /vendor/) -echo "<<< staticcheck" -echo - -echo ">>> unused" -unused $(go list ./... | grep -v /vendor/) -echo "<<< unused" -echo - -echo ">>> gas" -gas $(find . -name "*.go" | grep -v /vendor/ | grep -v '_test.go$') -echo "<<< gas" -echo - # Check for gofmt problems and report if any. gofiles=$(git diff --cached --name-only --diff-filter=ACM | grep '.go$' | grep -v /vendor/) [ -z "$gofiles" ] && echo "EXIT $vetres" && exit $vetres |