Skip to content

Commit

Permalink
Update Sources/Foundation/FileManager+POSIX.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
compnerd authored and hyp committed Dec 11, 2024
1 parent 7f4bf4b commit 5f40cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Foundation/FileManager+POSIX.swift
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ extension FileManager {
case FTS_D:
let (showFile, skipDescendants) = match(filename: filename, to: _options, isDir: true)
if skipDescendants {
fts_set(stream, _current!, FTS_SKIP)
fts_set(stream, current, FTS_SKIP)
}
if showFile {
return URL(fileURLWithPath: filename, isDirectory: true)
Expand Down

0 comments on commit 5f40cce

Please sign in to comment.