Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit e6e52f1

Browse files
committed
Remove an empty if block
1 parent 8f55cb1 commit e6e52f1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

WordPressKit/HTTPRequestBuilder.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,6 @@ final class HTTPRequestBuilder {
119119
}
120120

121121
func build(encodeMultipartForm: Bool = false) throws -> URLRequest {
122-
if encodeMultipartForm, let multipartForm, !multipartForm.isEmpty {
123-
}
124-
125122
guard let url = urlComponents.url else {
126123
throw URLError(.badURL)
127124
}

0 commit comments

Comments
 (0)