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 {
287287 shortEnoughPath = path
288288 restoreSavedCWD = false
289289 } catch SocketAddressError . unixDomainSocketPathTooLong {
290- FileManager . default. changeCurrentDirectoryPath (
290+ _ = FileManager . default. changeCurrentDirectoryPath (
291291 URL ( fileURLWithPath: path) . deletingLastPathComponent ( ) . absoluteString
292292 )
293293 shortEnoughPath = URL ( fileURLWithPath: path) . lastPathComponent
@@ -301,7 +301,7 @@ enum TemporaryFileHelpers {
301301 try ? FileManager . default. removeItem ( atPath: path)
302302 }
303303 if restoreSavedCWD {
304- FileManager . default. changeCurrentDirectoryPath ( saveCurrentDirectory)
304+ _ = FileManager . default. changeCurrentDirectoryPath ( saveCurrentDirectory)
305305 }
306306 }
307307 return try body ( shortEnoughPath)
You can’t perform that action at this time.
0 commit comments