2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

FIX: script was missing newlines when generating hosts

This commit is contained in:
Sam 2018-11-28 15:18:08 +11:00
parent 7dbf709467
commit 6acabec423

View file

@ -34,6 +34,7 @@ def swap_address(hosts, name, ips)
next if hostname == name next if hostname == name
end end
new_file << line new_file << line
new_file << "\n"
end end
ips.each do |ip| ips.each do |ip|