Skip to content

Commit

Permalink
Merge pull request #129 from JohnStrunk/gml-timeout
Browse files Browse the repository at this point in the history
Remove timeout from gml
  • Loading branch information
jarrpa authored Dec 20, 2018
2 parents 3c0bb7b + cbfc856 commit 7e6767c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/lint-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
set -o pipefail

if [[ -x "$(command -v gometalinter)" ]]; then
# shellcheck disable=SC2086,SC2068
gometalinter -j ${GO_METALINTER_THREADS:-1} --sort path --sort line --sort column --deadline=9m \
gometalinter -j "${GO_METALINTER_THREADS:-1}" \
--sort path --sort line --sort column --deadline=24h \
--enable="gofmt" --exclude "method NodeGetId should be NodeGetID" \
--vendor --debug ${@-./...} |& stdbuf -oL grep "linter took\\|:warning:\\|:error:"
--vendor --debug "${@-./...}" \
|& stdbuf -oL grep "linter took\\|:warning:\\|:error:"
else
echo "WARNING: gometalinter not found, skipping lint tests" >&2
fi

0 comments on commit 7e6767c

Please sign in to comment.