Skip to content

Commit

Permalink
add paths to allpaths
Browse files Browse the repository at this point in the history
  • Loading branch information
coffmark committed Apr 13, 2022
1 parent 870a7be commit 3a61cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/swiftlint/Commands/Lint.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ extension SwiftLint {
mutating func run() throws {
let allPaths: [String]
if let path = path {
allPaths = [path]
allPaths = [path] + paths
} else if !paths.isEmpty {
allPaths = paths
} else {
Expand Down

0 comments on commit 3a61cc9

Please sign in to comment.