4 Commits

Author SHA1 Message Date
Douglas Eichelberger
24cf6076e8 brew style --fix 2023-04-24 20:42:39 -07:00
Carlo Cabrera
2f37877858
git_repository: implement #to_s instead 2023-04-24 22:34:09 +08:00
Carlo Cabrera
93c3775147
git_repository: define #to_str
Fixes:

    Error: no implicit conversion of GitRepository into String

when doing `brew pr-pull --autosquash`. See [1].

I contemplated implementing only `#to_s`, but we've historically used
these as `Pathname`s, and `Pathname` defines `#to_str`.

[1] https://github.com/Homebrew/homebrew-core/actions/runs/4784638305/jobs/8506369135#step:10:54
2023-04-24 21:53:05 +08:00
Douglas Eichelberger
403f08db8b Remove delegation 2023-04-16 09:30:21 -07:00