From 3c52e89277e1cd360263058d4bd02da0dc55bdfa Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Thu, 21 Jul 2016 13:40:48 -0400 Subject: [PATCH] travis: more strict golint Signed-off-by: Vincent Batts --- .travis.yml | 2 +- cmd/gomtree/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b73c7fb..ffb8f91 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,5 +15,5 @@ install: true script: - go vet -x ./... - - golint ./... + - golint -set_exit_status ./... - go test -v ./... diff --git a/cmd/gomtree/main.go b/cmd/gomtree/main.go index ac9f02b..89aa2af 100644 --- a/cmd/gomtree/main.go +++ b/cmd/gomtree/main.go @@ -78,7 +78,7 @@ func main() { } // -p - var rootPath string = "." + var rootPath = "." if *flPath != "" { rootPath = *flPath }