Skip to content

Commit

Permalink
few fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cristaloleg committed Jan 26, 2022
1 parent 62704a2 commit 39518cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/gocritic/main.go
Expand Up @@ -5,7 +5,7 @@ import (
"github.com/go-critic/go-critic/framework/lintmain"
)

var Version string
var Version = "v0.0.0-SNAPSHOT"

func main() {
lintmain.Run(lintmain.Config{
Expand Down
4 changes: 3 additions & 1 deletion framework/lintmain/lintmain.go
Expand Up @@ -24,7 +24,9 @@ func Run(cfg Config) {
AppName: cfg.Name,
Version: cfg.Version,
})
_ = r.Run()
if err := r.Run(); err != nil {
log.Print(err.Error())
}
}

var cmds = []acmd.Command{
Expand Down

0 comments on commit 39518cb

Please sign in to comment.