mirror of
https://github.com/mgechev/revive.git
synced 2025-03-17 20:57:58 +02:00
Update lintconfig
This commit is contained in:
parent
ec03cccdf2
commit
bd04af7465
@ -156,7 +156,8 @@ func normalizeSplit(strs []string) []string {
|
||||
func getFiles() []string {
|
||||
globs := normalizeSplit(flag.Args())
|
||||
if len(globs) == 0 {
|
||||
fail("files not specified")
|
||||
flag.Usage()
|
||||
return nil
|
||||
}
|
||||
|
||||
files, errs := dots.Resolve(globs, normalizeSplit(excludePaths))
|
||||
|
Loading…
x
Reference in New Issue
Block a user