mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 03:09:43 +00:00
add missing newline to end of file
This commit is contained in:
parent
d7b0f0069c
commit
6d9d904df5
@ -37,10 +37,10 @@ def swap_address(hosts, name, ips)
|
||||
end
|
||||
|
||||
ips.each do |ip|
|
||||
new_file << "#{ip} #{name} # AUTO GENERATED: #{Time.now.iso8601}"
|
||||
new_file << "#{ip} #{name} # AUTO GENERATED: #{Time.now.iso8601}\n"
|
||||
end
|
||||
|
||||
new_file.join("\n")
|
||||
new_file.join
|
||||
end
|
||||
|
||||
def hosts_entries(dns, name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user