Fix Swiftlint warnings

This commit is contained in:
Gwendal Roué committed 2025-12-30 10:31:13 +01:00
1 parent aa0079aeb8
commit bc5dd31366
1 file changed
+1 -1
+1 -1
View File
@@ -1313,7 +1313,7 @@ public final class Database: CustomStringConvertible, CustomDebugStringConvertib
/// error, it is retried a second time.
func ignoringInterruption<T>(_ value: () throws -> T) rethrows -> T {
do {
return try value()
return try value() // swiftlint:disable:next statement_position
}
catch is CancellationError,
DatabaseError.SQLITE_INTERRUPT,