`brew livecheck` currently gives a Sorbet type error when run on a HEAD-only formula: `Parameter 'version': Expected type Version, got type String with value "c06c10d"`. This happens because the `current` and `latest` values are strings but `LivecheckVersion#create` expects a `Version` object. This addresses the issue by creating a `Version` object from the related commit strings. This ensures that the type of these variables is more uniform, which makes them easier to reason about.
Library
This directory contains all the code run by the official brew command in Homebrew and all formulae (package descriptions) in taps (repositories containing formulae) in Taps subdirectories.