Sam Ford c0f23acdcd
Cask::Auditor: update language_blocks condition
I recently modified `Cask::DSL` to define instance variables in the
`#initialize` method and this involved some changes to the `language`,
`language_eval`, and `languages` methods. One of those was to
initialize `@language_blocks` to an empty hash instead of using a
`nil` default. I updated the related condition in the `language_eval`
method but I missed that `language_blocks` is used in `Cask::Auditor`
and it specifically relies on a false-y value to check if the variable
is set. An empty hash isn't false-y, so this is causing issues for
`brew audit`.

This updates the condition in `Cask::Auditor` to check for a non-empty
hash instead, which resolves the issue.
2025-04-23 09:19:41 -04:00
..
2025-03-05 20:12:18 +01:00
2025-04-02 16:34:28 +11:00
2025-01-14 08:14:39 -05:00
2025-03-05 20:12:18 +01:00
2024-10-02 10:03:12 -07:00
2024-12-12 00:01:30 -08:00
2024-10-06 09:25:57 -07:00
2025-03-20 18:07:30 +00:00
2025-03-02 21:36:03 -08:00
2025-03-02 21:36:03 -08:00
2025-03-02 21:36:03 -08:00
2025-02-25 15:34:49 +00:00