mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 09:12:45 +08: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…
Reference in New Issue
Block a user