From 0cd3be3a3a0d72b7e1af1fbed43ca943e72d82df Mon Sep 17 00:00:00 2001 From: Daniel Grumberg Date: Mon, 27 Oct 2025 16:38:23 +0000 Subject: [PATCH] Allow auditing of uncompressed artifact bundles --- Sources/Commands/PackageCommands/AuditBinaryArtifact.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Sources/Commands/PackageCommands/AuditBinaryArtifact.swift b/Sources/Commands/PackageCommands/AuditBinaryArtifact.swift index ac290eea4c0..06eae51c1b4 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 {