Ignore pre_process_working_file FileSed.fix_line_endings for .xlsx files
This commit is contained in:
@@ -14,6 +14,7 @@ module Dunlop::FileSed
|
||||
end
|
||||
|
||||
def self.fix_line_endings(filename)
|
||||
return if filename.to_s.end_with?('.xlsx')
|
||||
%x[dos2unix -f #{filename} > /dev/null 2>&1]
|
||||
raise 'error in dos2unix command line' unless $?.exitstatus == 0
|
||||
%x[dos2unix -f -c mac #{filename} > /dev/null 2>&1]
|
||||
|
||||
Reference in New Issue
Block a user