Skip to content

Commit fb1e84b

Browse files
committed
Fix
1 parent e5df357 commit fb1e84b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/ContainerizationArchive/ArchiveWriter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ extension ArchiveWriter {
319319
.reduce(into: FilePath("")) { $0.append($1) }
320320

321321
var isDir: ObjCBool = false
322-
fm.fileExists(atPath: path.string, isDirectory: &isDir)
322+
_ = fm.fileExists(atPath: path.string, isDirectory: &isDir)
323323
if isDir.boolValue {
324324
guard let enumerator = fm.enumerator(atPath: path.string) else {
325325
throw POSIXError(.ENOTDIR)

0 commit comments

Comments
 (0)