Merge pull request #11 from xuri/master

Fix typo.
This commit is contained in:
golangci 2018-05-26 17:49:16 +03:00 committed by GitHub
commit 22084bdf69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,7 @@ func (e *Executor) initRun() {
runCmd.Flags().IntVar(&lsc.Goconst.MinStringLen, "goconst.min-len",
3, "Goconst: minimum constant string length")
runCmd.Flags().IntVar(&lsc.Goconst.MinOccurrencesCount, "goconst.min-occurrences",
3, "Goconst: minimum occurences of constant string count to trigger issue")
3, "Goconst: minimum occurrences of constant string count to trigger issue")
// Linters config
lc := &e.cfg.Linters