plist_caveats: ensure it ending with newline

Closes Homebrew/homebrew#49374.

Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
Xu Cheng 2016-02-20 19:28:59 +08:00
parent bfbdfe8d9d
commit 7c9dff1f1e

View File

@ -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