skip ~ files

This commit is contained in:
Thibault bui Koechlin 2020-06-11 17:43:04 +02:00
parent 26f77bed88
commit 71b3833504

View file

@ -113,7 +113,7 @@ func parser_visit(path string, f os.FileInfo, err error) error {
var fauthor string
var stage string
//we only care about files
if f == nil || f.IsDir() {
if f == nil || f.IsDir() || strings.HasSuffix(f.Name(), "~") {
return nil
}