change path

This commit is contained in:
Razvan Azamfirei 2023-08-09 15:27:36 -04:00
parent a916d6184b
commit 72df964b33
No known key found for this signature in database
GPG Key ID: 62E97BFCB12046BD

View File

@ -723,7 +723,7 @@ module Cask
expected_path = cask.tap.new_cask_path(cask.token)
return if cask.ruby_source_path.to_s.end_with?(expected_path)
return if cask.sourcefile_path.to_s.end_with?(expected_path)
add_error "Cask should be located in '#{expected_path}'"
end