Skip to content

Commit

Permalink
Try with slash
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Feb 23, 2024
1 parent 87d959e commit 0cceff0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ReleaseTooling/Sources/Utils/FileManager+Utils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ public extension FileManager {
// The only thing of interest is the path extension being ".bundle", but not a privacy
// bundle.
if fileURL.pathExtension == "bundle",
!fileURL.lastPathComponent.hasSuffix("_Privacy.bundle") {
!fileURL.lastPathComponent.hasSuffix("_Privacy.bundle"),
!fileURL.lastPathComponent.hasSuffix("_Privacy.bundle/") {
matches.append(fileURL)
}
case .headers:
Expand Down

0 comments on commit 0cceff0

Please sign in to comment.