We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c995ec3 commit 80ad1edCopy full SHA for 80ad1ed
Sources/SwiftFormat/Utilities/FileIterator.swift
@@ -199,7 +199,7 @@ private func inputShouldBeProcessed(at url: URL) -> Bool {
199
return true
200
}
201
202
- var containingDirectory = url.absoluteURL.standardized.deletingLastPathComponent()
+ var containingDirectory = url.absoluteURL.standardized
203
repeat {
204
containingDirectory.deleteLastPathComponent()
205
let candidateFile = containingDirectory.appendingPathComponent(FileIterator.ignoreFileName)
0 commit comments