File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ public func generate(
98
98
if try repositoryProvider. checkoutExists ( at: srcroot) {
99
99
// Get the ignored files and exclude them
100
100
let repository = try repositoryProvider. openCheckout ( at: srcroot)
101
- extraFiles = try extraFiles. filter { try ! repository. isIgnored ( $0) }
101
+ extraFiles = try extraFiles. filter ( { try ! repository. isIgnored ( $0) } )
102
102
}
103
103
104
104
/// Generate the contents of project.xcodeproj (inside the .xcodeproj).
@@ -250,11 +250,11 @@ func generateSchemes(
250
250
func findNonSourceFiles( path: AbsolutePath , recursively: Bool = false ) throws -> [ AbsolutePath ] {
251
251
let filesFromPath = try walk ( path, recursively: recursively)
252
252
253
- return filesFromPath. filter {
253
+ return filesFromPath. filter ( {
254
254
if !isFile( $0) { return false }
255
255
if let `extension` = $0. extension, SupportedLanguageExtension . validExtensions. contains ( `extension`) {
256
256
return false
257
257
}
258
258
return true
259
- }
259
+ } )
260
260
}
You can’t perform that action at this time.
0 commit comments