2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-04 08:47:37 +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
end
new_file << line
new_file << "\n"
end
ips.each do |ip|