Skip to content

Commit

Permalink
fix: use './...' when running gometalinter
Browse files Browse the repository at this point in the history
  • Loading branch information
1138-4EB committed Aug 7, 2018
1 parent 81f05aa commit 69f11ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/run_gometalinter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ 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 "\
cp -r /src/. ./ && dep ensure -v -vendor-only && \
CGO_ENABLED=0 $dolint"
else
$dolint
fi
fi

0 comments on commit 69f11ed

Please sign in to comment.