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 8542e17 commit b0554ecCopy full SHA for b0554ec
Sources/SwiftFormat/Utilities/FileIterator.swift
@@ -189,7 +189,7 @@ private func inputShouldBeProcessed(at url: URL) -> Bool {
189
return true
190
}
191
192
- var containingDirectory = url.absoluteURL.standardized.deletingLastPathComponent()
+ var containingDirectory = url.absoluteURL.standardized
193
repeat {
194
containingDirectory.deleteLastPathComponent()
195
let candidateFile = containingDirectory.appendingPathComponent(FileIterator.ignoreFileName)
0 commit comments