original.yaml has just todo, merge against .original.yaml so mobile edits still get a history

This commit is contained in:
Bel LaPointe
2025-07-03 17:44:24 -06:00
parent 29bc6a06b4
commit 242ad3e127
2 changed files with 15 additions and 2 deletions

View File

@@ -90,7 +90,9 @@ func (config config) targets() ([]string, error) {
for i := range results {
if stat, err := os.Stat(results[i]); err != nil {
return nil, err
} else if !stat.IsDir() {
} else if stat.IsDir() {
} else if strings.HasPrefix(path.Base(results[i]), ".") && isDir {
} else {
result = append(result, results[i])
}
}