We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 445f26c commit 4876ff6Copy full SHA for 4876ff6
‎Plugins/SwiftLintCommandPlugin/CommandContext.swift
@@ -85,7 +85,7 @@ extension XcodePluginContext: CommandContext {
85
}
86
return xcodeProject.targets
87
.filter { names.contains($0.displayName) }
88
- .map { (paths: $0.inputFiles.map(\.path.string), name: $0.displayName) }
+ .map { (paths: $0.inputFiles.map(\.path.string).filter { $0.hasSuffix(".swift") }, name: $0.displayName) }
89
90
91
0 commit comments