fix: use './...' when running gometalinter
parent
81f05aa894
commit
69f11ed80b
|
@ -4,7 +4,7 @@ set -e
|
|||
|
||||
cd $(dirname $0)/..
|
||||
|
||||
dolint='gometalinter --exclude="rice-box.go" --deadline=300s'
|
||||
dolint='gometalinter --exclude="rice-box.go" --deadline=300s ./...'
|
||||
|
||||
if [ "$USE_DOCKER" != "" ]; then
|
||||
docker run --rm -itv $(pwd):/src filebrowser/dev sh -c "\
|
||||
|
@ -12,4 +12,4 @@ if [ "$USE_DOCKER" != "" ]; then
|
|||
CGO_ENABLED=0 $dolint"
|
||||
else
|
||||
$dolint
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue