Explorar o código

Fixed guard else condition formatting…no functional changes.

Christian Noon %!s(int64=8) %!d(string=hai) anos
pai
achega
00ad5eed1f
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      Source/MultipartFormData.swift

+ 1 - 2
Source/MultipartFormData.swift

@@ -257,8 +257,7 @@ open class MultipartFormData {
         var isDirectory: ObjCBool = false
         let path = fileURL.path
 
-        guard FileManager.default.fileExists(atPath: path, isDirectory: &isDirectory) && !isDirectory.boolValue else
-        {
+        guard FileManager.default.fileExists(atPath: path, isDirectory: &isDirectory) && !isDirectory.boolValue else {
             setBodyPartError(withReason: .bodyPartFileIsDirectory(at: fileURL))
             return
         }