Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lintcmd: allow use from library, without forcing a call to os.Exit
Split Command.Run into Command.Execute and Command.Run, where the former is responsible for running analyzers and reporting their results and the latter for calling os.Exit with the former's result. This allows running the Staticcheck CLI programmatically together with other tools. Closes: gh-1597 [via git-merge-pr]
- Loading branch information