We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5df357 commit fb1e84bCopy full SHA for fb1e84b
1 file changed
Sources/ContainerizationArchive/ArchiveWriter.swift
@@ -319,7 +319,7 @@ extension ArchiveWriter {
319
.reduce(into: FilePath("")) { $0.append($1) }
320
321
var isDir: ObjCBool = false
322
- fm.fileExists(atPath: path.string, isDirectory: &isDir)
+ _ = fm.fileExists(atPath: path.string, isDirectory: &isDir)
323
if isDir.boolValue {
324
guard let enumerator = fm.enumerator(atPath: path.string) else {
325
throw POSIXError(.ENOTDIR)
0 commit comments