Skip to content
Snippets Groups Projects
Unverified Commit 4c67a8ce authored by Sean Molenaar's avatar Sean Molenaar Committed by GitHub
Browse files

caveats: simplify non-plist return

parent 0e27ec70
No related branches found
No related tags found
No related merge requests found
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment