1
0
mirror of https://github.com/mgechev/revive.git synced 2025-03-17 20:57:58 +02:00

Update lintconfig

This commit is contained in:
mgechev 2018-02-04 13:48:08 -08:00
parent ec03cccdf2
commit bd04af7465

View File

@ -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))