lib/remote_table/file.rb in remote_table-0.2.20 vs lib/remote_table/file.rb in remote_table-0.2.21

- 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", false + RemoteTable.backtick_with_reporting "iconv -c -f #{encoding} -t UTF-8 #{path} > #{path}.tmp" FileUtils.mv "#{path}.tmp", path end def restore_file! FileUtils.mv "#{path}.backup", path if ::File.readable? "#{path}.backup"