Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-cmd/typecheck: Tell the user how to configure Sorbet for taps
- The previous try of setting `--dir` to the tap path produced nonsense (as far as I could tell). - So I added a `sorbet` directory to `homebrew/services` locally, with a copy of the main config file, and went back to the `tap_path.cd` approach. - This is a bit better, as in more like I'd expect, but something in Sorbet's knowledge of the world still doesn't find the "core" classes like `Formula`, `Plist` in the case of `brew typecheck homebrew/services`. ``` lib/service/services_cli.rb:107: Unable to resolve constant Keg https://srb.help/5002 107 | elsif service.formula.opt_prefix.exist? && (keg = Keg.for service.formula.opt_prefix) && keg.plist_installed? ^^^ lib/service/services_cli.rb:216: Unable to resolve constant Plist https://srb.help/5002 216 | Plist.parse_xml(plist_data, marshal: false) ^^^^^ ```
- Loading branch information