File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Tests/AsyncHTTPClientTests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ enum TemporaryFileHelpers {
287
287
shortEnoughPath = path
288
288
restoreSavedCWD = false
289
289
} catch SocketAddressError . unixDomainSocketPathTooLong {
290
- FileManager . default. changeCurrentDirectoryPath (
290
+ _ = FileManager . default. changeCurrentDirectoryPath (
291
291
URL ( fileURLWithPath: path) . deletingLastPathComponent ( ) . absoluteString
292
292
)
293
293
shortEnoughPath = URL ( fileURLWithPath: path) . lastPathComponent
@@ -301,7 +301,7 @@ enum TemporaryFileHelpers {
301
301
try ? FileManager . default. removeItem ( atPath: path)
302
302
}
303
303
if restoreSavedCWD {
304
- FileManager . default. changeCurrentDirectoryPath ( saveCurrentDirectory)
304
+ _ = FileManager . default. changeCurrentDirectoryPath ( saveCurrentDirectory)
305
305
}
306
306
}
307
307
return try body ( shortEnoughPath)
You can’t perform that action at this time.
0 commit comments