diff --git a/utils.go b/utils.go index 5812071..d62eaf9 100644 --- a/utils.go +++ b/utils.go @@ -135,7 +135,7 @@ func getAllFiles(paths []string, languages *DefinedLanguages, opts *ClocOptions) } } - if !opts.SkipDuplicated { + if opts.SkipDuplicated { ignore := checkMD5Sum(path, fileCache) if ignore { if opts.Debug {