diff --git a/Plugins/SwiftLintBuildToolPlugin/SwiftLintBuildToolPlugin.swift b/Plugins/SwiftLintBuildToolPlugin/SwiftLintBuildToolPlugin.swift index 65fbe02..2005c4d 100644 --- a/Plugins/SwiftLintBuildToolPlugin/SwiftLintBuildToolPlugin.swift +++ b/Plugins/SwiftLintBuildToolPlugin/SwiftLintBuildToolPlugin.swift @@ -57,7 +57,7 @@ struct SwiftLintBuildToolPlugin: BuildToolPlugin { // We always pass all of the Swift source files in the target to the tool, // so we need to ensure that any exclusion rules in the configuration are // respected. - "--force-exclude" + "--force-exclude", ] // Determine whether we need to enable cache or not (for Xcode Cloud we don't) let cacheArguments: [String] @@ -76,7 +76,7 @@ struct SwiftLintBuildToolPlugin: BuildToolPlugin { executable: executable.path, arguments: arguments + cacheArguments + swiftFiles.map(\.string), environment: environment, - outputFilesDirectory: outputPath) + outputFilesDirectory: outputPath), ] } }