Skip to content

Commit 1967bf7

Browse files
committed
fix typo in FileIterator.swift
1 parent 629372a commit 1967bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/swift-format/Utilities/FileIterator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public struct FileIterator: Sequence, IteratorProtocol {
132132
case .typeRegular:
133133
// We attempt to relativize the URLs based on the current working directory, not the
134134
// directory being iterated over, so that they can be displayed better in diagnostics. Thus,
135-
// if the user passes paths that are relative to the current working diectory, they will
135+
// if the user passes paths that are relative to the current working directory, they will
136136
// be displayed as relative paths. Otherwise, they will still be displayed as absolute
137137
// paths.
138138
let relativePath =

0 commit comments

Comments
 (0)