skip ~ files
This commit is contained in:
parent
26f77bed88
commit
71b3833504
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ func parser_visit(path string, f os.FileInfo, err error) error {
|
||||||
var fauthor string
|
var fauthor string
|
||||||
var stage string
|
var stage string
|
||||||
//we only care about files
|
//we only care about files
|
||||||
if f == nil || f.IsDir() {
|
if f == nil || f.IsDir() || strings.HasSuffix(f.Name(), "~") {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue