mirror of
https://github.com/containers/skopeo.git
synced 2025-06-27 07:07:31 +00:00
Don't unnecessarily filter out vendor from (go list ./...) output
(go list) removes the vendor subdirectory automatically since Go 1.9. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
parent
8eba94f271
commit
db877dca36
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
errors=$(go vet $mod_vendor $(go list $mod_vendor -e ./... | grep -v "$SKOPEO_PKG"/vendor))
|
errors=$(go vet $mod_vendor $(go list $mod_vendor -e ./...))
|
||||||
|
|
||||||
if [ -z "$errors" ]; then
|
if [ -z "$errors" ]; then
|
||||||
echo 'Congratulations! All Go source files have been vetted.'
|
echo 'Congratulations! All Go source files have been vetted.'
|
||||||
|
Loading…
Reference in New Issue
Block a user