cask/audit: fix sharding for font-* casks
This commit is contained in:
parent
0a358b8518
commit
db4099d977
@ -817,11 +817,7 @@ module Cask
|
||||
def audit_cask_path
|
||||
return unless cask.tap.core_cask_tap?
|
||||
|
||||
expected_path = if cask.artifacts.any?(Artifact::Font)
|
||||
cask.tap.new_cask_font_path(cask.token)
|
||||
else
|
||||
cask.tap.new_cask_path(cask.token)
|
||||
end
|
||||
expected_path = cask.tap.new_cask_path(cask.token)
|
||||
|
||||
return if cask.sourcefile_path.to_s.end_with?(expected_path)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user