Skip to content

Commit 6e2ce11

Browse files
committed
Fix the style of trailing closures
Put parentheses around the functional trailing closures
1 parent 3340415 commit 6e2ce11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Xcodeproj/generate().swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,11 @@ func generateSchemes(
257257
func findNonSourceFiles(path: AbsolutePath, recursively: Bool = false) throws -> [AbsolutePath] {
258258
let filesFromPath = try walk(path, recursively: recursively)
259259

260-
return filesFromPath.filter {
260+
return filesFromPath.filter({
261261
if !isFile($0) { return false }
262262
if let `extension` = $0.extension, SupportedLanguageExtension.validExtensions.contains(`extension`) {
263263
return false
264264
}
265265
return true
266-
}
266+
})
267267
}

0 commit comments

Comments
 (0)