caveats: simplify non-plist return
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
This commit is contained in:
parent
0e27ec707b
commit
4c67a8ce27
@ -6,10 +6,7 @@ class Caveats
|
||||
|
||||
def plist_caveats
|
||||
s = []
|
||||
if !f.plist && !f.service? && !keg&.plist_installed?
|
||||
caveat = "#{s.join("\n")}\n" if s.present?
|
||||
return caveat
|
||||
end
|
||||
return if !f.plist && !f.service? && !keg&.plist_installed?
|
||||
|
||||
plist_domain = f.plist_path.basename(".plist")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user