add missing newline to end of file

This commit is contained in:
Sam 2018-11-23 15:43:27 +11:00
parent d7b0f0069c
commit 6d9d904df5

View File

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