audit: fix formula path

This commit is contained in:
Razvan Azamfirei 2023-12-26 08:19:49 +02:00
parent 7817518992
commit 2dc3741f08
No known key found for this signature in database
GPG Key ID: 62E97BFCB12046BD

View File

@ -943,7 +943,7 @@ module Cask
formula_path = Formulary.core_path(cask.token) formula_path = Formulary.core_path(cask.token)
.to_s .to_s
.delete_prefix(core_tap.path.to_s) .delete_prefix(core_tap.path.to_s)
"#{core_tap.default_remote}/blob/HEAD/Formula/#{formula_path}" "#{core_tap.default_remote}/blob/HEAD#{formula_path}"
end end
end end
end end