Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-przybyl-wttech committed Mar 21, 2024
1 parent f13c5d4 commit e516b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/content/content.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ func (c Manager) undoParentsBackup(root string) error {

if err := eachFilesInDir(parent, func(path string) error {
return deleteFile(path, func() bool {
return !strings.HasSuffix(path, ParentsBackupSuffix) || !strings.HasSuffix(path, ParentsBackupDirIndicator)
return !strings.HasSuffix(path, ParentsBackupSuffix)
})
}); err != nil {
return err
Expand Down

0 comments on commit e516b38

Please sign in to comment.