diff --git a/pkg/cwhub/hubMgmt.go b/pkg/cwhub/hubMgmt.go index b9957d3bc..b02f0ac11 100644 --- a/pkg/cwhub/hubMgmt.go +++ b/pkg/cwhub/hubMgmt.go @@ -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 }