Skip to content

Commit 98d6a06

Browse files
committed
fix: Accept lock file modifications without returning a semantically incorrect error.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
1 parent 3defc44 commit 98d6a06

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

Sources/NextcloudFileProviderKit/Item/Item+LockFile.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -237,13 +237,7 @@ extension Item {
237237
)
238238
}
239239

240-
var returnError: Error? = nil
241-
242-
if #available(macOS 13.0, *) {
243-
returnError = NSFileProviderError(.excludedFromSync)
244-
}
245-
246-
return (modifiedItem, returnError)
240+
return (modifiedItem, nil)
247241
}
248242

249243
func deleteLockFile(domain: NSFileProviderDomain? = nil, dbManager: FilesDatabaseManager) async -> Error? {

0 commit comments

Comments
 (0)