From 8ee595dd484919b98bd9908900fbece2585a334d Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 19 Aug 2021 08:00:44 +0200 Subject: Fix issues found by "go vet" Issues were: # github.com/rfjakob/gocryptfs/contrib/findholes/holes contrib/findholes/holes/holes.go:136:2: unreachable code # github.com/rfjakob/gocryptfs/tests/root_test_test tests/root_test/root_test.go:139:2: unreachable code Also make sure we actually run "go vet" against the whole codebase. --- test.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test.bash') diff --git a/test.bash b/test.bash index 091f0ac..1af1d43 100755 --- a/test.bash +++ b/test.bash @@ -50,7 +50,7 @@ if ! go tool | grep vet > /dev/null ; then elif [[ -d vendor ]] ; then echo "vendor directory exists, skipping 'go tool vet'" else - go vet "$@" . + go vet "$@" ./... fi if command -v shellcheck > /dev/null ; then -- cgit v1.2.3