Skip to content

Commit 96506d9

Browse files
authored
Remove --path param from swiftlint
swiftlint now fails if using `--path` https://github.com/realm/SwiftLint/releases/tag/0.48.0
1 parent a3c659e commit 96506d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Danger/Plugins/SwiftLint/SwiftLint.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ extension SwiftLint {
185185
var arguments = arguments
186186

187187
if let directory = directory {
188-
arguments.append("--path \"\(directory)\"")
188+
arguments.append(" \"\(directory)\"")
189189
}
190190

191191
return swiftlintViolations(swiftlintPath: swiftlintPath,

0 commit comments

Comments
 (0)