Skip to content

Commit 032de34

Browse files
authored
Update SwiftLint.swift
Append directory as last argument to swiftlint command
1 parent 55805a0 commit 032de34

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(" \"\(directory)\"")
188+
arguments.append(directory)
189189
}
190190

191191
return swiftlintViolations(swiftlintPath: swiftlintPath,

0 commit comments

Comments
 (0)