diff --git a/Sources/Commands/PackageCommands/AuditBinaryArtifact.swift b/Sources/Commands/PackageCommands/AuditBinaryArtifact.swift index 0b5119fe733..86efaaf6bf9 100644 --- a/Sources/Commands/PackageCommands/AuditBinaryArtifact.swift +++ b/Sources/Commands/PackageCommands/AuditBinaryArtifact.swift @@ -99,6 +99,11 @@ struct AuditBinaryArtifact: AsyncSwiftCommand { { let archiver = UniversalArchiver(fileSystem) + if let lastPathComponent = path.components.last, + lastPathComponent.hasSuffix("artifactbundle") { + return path + } + guard let lastPathComponent = path.components.last, archiver.isFileSupported(lastPathComponent) else {