Skip to content

Commit 5f40cce

Browse files
compnerdhyp
authored andcommitted
Update Sources/Foundation/FileManager+POSIX.swift
1 parent 7f4bf4b commit 5f40cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Foundation/FileManager+POSIX.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ extension FileManager {
408408
case FTS_D:
409409
let (showFile, skipDescendants) = match(filename: filename, to: _options, isDir: true)
410410
if skipDescendants {
411-
fts_set(stream, _current!, FTS_SKIP)
411+
fts_set(stream, current, FTS_SKIP)
412412
}
413413
if showFile {
414414
return URL(fileURLWithPath: filename, isDirectory: true)

0 commit comments

Comments
 (0)