fix: use './...' when running gometalinter

This commit is contained in:
1138-4EB 2018-08-07 12:04:43 +01:00 committed by GitHub
parent 81f05aa894
commit 69f11ed80b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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