aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2016-02-20 19:28:59 +0800
committerXu Cheng2016-02-21 12:15:31 +0800
commit7c9dff1f1ee34e5dac6d031cf167fdc07ccd86bf (patch)
tree87d9308cc78ab4a4b3708c55de9ac82bf144d4e7 /Library
parentbfbdfe8d9da53209dcc66ee0e9980078669a4acd (diff)
downloadbrew-7c9dff1f1ee34e5dac6d031cf167fdc07ccd86bf.tar.bz2
plist_caveats: ensure it ending with newline
Closes Homebrew/homebrew#49374. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/caveats.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb
index 298825adb..63084af03 100644
--- a/Library/Homebrew/caveats.rb
+++ b/Library/Homebrew/caveats.rb
@@ -212,6 +212,6 @@ class Caveats
s << "" << "WARNING: launchctl will fail when run under tmux." if ENV["TMUX"]
end
- s.join("\n") unless s.empty?
+ s.join("\n") + "\n" unless s.empty?
end
end