diff options
author | Jakob Unterwurzacher | 2021-08-19 08:00:44 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-08-19 08:34:49 +0200 |
commit | 8ee595dd484919b98bd9908900fbece2585a334d (patch) | |
tree | 9f400dd8bd4bd4aea885779434d5c8d38ccc4c2c /test.bash | |
parent | c86981342b46875525f2b214687553e23e58eb1a (diff) |
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.
Diffstat (limited to 'test.bash')
-rwxr-xr-x | test.bash | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |