diff --git a/code.go b/code.go index 28e14f9..092d548 100644 --- a/code.go +++ b/code.go @@ -38,8 +38,8 @@ func findProjects() map[string]User { uname := pparts[2] fname := filepath.Base(path) - // Exclude certain files - if strings.HasPrefix(fname, ".") || strings.HasSuffix(fname, ".log") { + // Exclude certain file names + if strings.HasPrefix(fname, ".") || strings.HasSuffix(fname, ".log") || strings.HasSuffix(fname, "~") { continue }