lib/remote_table/file.rb in remote_table-0.2.18 vs lib/remote_table/file.rb in remote_table-0.2.19
- old
+ new
@@ -63,10 +63,10 @@
FileUtils.mv "#{path}.tmp", path
end
def convert_file_to_utf8!
return if encoding == 'UTF-8' or encoding == 'UTF8'
- RemoteTable.backtick_with_reporting "iconv -c -f #{encoding} -t UTF-8 #{path} > #{path}.tmp"
+ RemoteTable.backtick_with_reporting "iconv -c -f #{encoding} -t UTF-8 #{path} > #{path}.tmp", false
FileUtils.mv "#{path}.tmp", path
end
def restore_file!
FileUtils.mv "#{path}.backup", path if ::File.readable? "#{path}.backup"