mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
fix: use './...' when running gometalinter
This commit is contained in:
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
Block a user