Skip to content

Commit

Permalink
(fix) use URLComponents to create zip url (resolves symlink freakouts)
Browse files Browse the repository at this point in the history
  • Loading branch information
mredig committed Dec 20, 2023
1 parent 9084b90 commit 876ff23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/PKGAppcastGeneratorCore/Entry+URL.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import ZIPFoundation

public extension Entry {
var pathURL: URL? {
URL(string: "zip:///\(path)")
URLComponents(string: "zip:///\(path)")?.url
}

var componentCount: Int {
Expand Down

0 comments on commit 876ff23

Please sign in to comment.