Forráskód Böngészése

Fixed guard else condition formatting…no functional changes.

Christian Noon 8 éve
szülő
commit
00ad5eed1f
1 módosított fájl, 1 hozzáadás és 2 törlés
  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
         }