From: Jeff Halter Date: Sat, 8 Jun 2024 17:57:27 +0000 (-0700) Subject: Ignore files with incompatible names X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/commitdiff_plain/2b7fabb5a1ff6092dd3ea62bd882dd0c02951b81 Ignore files with incompatible names --- diff --git a/hotline/files.go b/hotline/files.go index 9357bdb..dcabf9d 100644 --- a/hotline/files.go +++ b/hotline/files.go @@ -123,7 +123,7 @@ func getFileNameList(path string, ignoreList []string) (fields []Field, err erro strippedName := strings.ReplaceAll(file.Name(), ".incomplete", "") strippedName, err = txtEncoder.String(strippedName) if err != nil { - return nil, err + continue } nameSize := make([]byte, 2)