Skip to content

Commit

Permalink
Merge pull request #3451 from realm/fix-paths-log
Browse files Browse the repository at this point in the history
Fix logging linting the current working directory
  • Loading branch information
jpsim authored Dec 1, 2020
2 parents 231ef2b + f926cfa commit 0c5136d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ extension Configuration {
}
if !visitor.quiet {
let filesInfo: String
if visitor.paths.isEmpty {
if visitor.paths.isEmpty || visitor.paths == [""] {
filesInfo = "in current working directory"
} else {
filesInfo = "at paths \(visitor.paths.joined(separator: ", "))"
Expand Down

0 comments on commit 0c5136d

Please sign in to comment.