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 }