Mike Fiedler e4823ea6fe
cmd/uninstall: fix Array comparison
In #7526 a comparison for `paths` was introduced, but if `paths` is ever
`nil`, this triggers an error.

Coercing the variable to an Array should alleviate this problem, as
`nil.to_a` produces an empty and comparable Array.

Fixes #7540

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2020-05-10 11:28:42 -04:00
..
2020-05-10 11:28:42 -04:00
2020-04-07 09:58:26 +01:00
2020-04-30 16:07:55 +01:00
2020-03-13 21:16:18 +00:00
2020-05-01 01:31:57 +10:00
2020-05-07 10:33:02 +01:00
2020-05-07 10:37:19 +01:00
2020-04-07 09:58:26 +01:00
2020-04-07 09:58:26 +01:00
2020-04-07 09:58:26 +01:00
2020-04-07 09:58:26 +01:00
2020-04-30 23:37:45 +10:00
2020-02-19 11:24:12 +00:00
2020-03-13 21:16:18 +00:00
2020-05-02 13:45:04 +01:00
2020-04-07 09:58:26 +01:00
2020-04-13 16:01:26 +01:00
2020-04-07 09:58:26 +01:00
2020-03-13 21:16:18 +00:00
2020-04-23 18:11:10 +01:00
2020-04-07 09:58:26 +01:00
2020-02-28 14:57:28 -05:00

Homebrew's Formula API

This is the public API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!