mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Removed double line breaks in combined scripts
This commit is contained in:
@@ -110,7 +110,7 @@ module Scripts
|
||||
files.sort!
|
||||
files.each do |f|
|
||||
section_name = filename_to_title(f)
|
||||
content = File.open(path + "/" + f, "rb") { |f2| f2.read }.gsub(/\n/, "\r\n")
|
||||
content = File.open(path + "/" + f, "rb") { |f2| f2.read }#.gsub(/\n/, "\r\n")
|
||||
scripts << [rand(999_999), section_name, Zlib::Deflate.deflate(content)]
|
||||
end
|
||||
# Check each subfolder for scripts to aggregate
|
||||
|
||||
@@ -110,7 +110,7 @@ module Scripts
|
||||
files.sort!
|
||||
files.each do |f|
|
||||
section_name = filename_to_title(f)
|
||||
content = File.open(path + "/" + f, "rb") { |f2| f2.read }.gsub(/\n/, "\r\n")
|
||||
content = File.open(path + "/" + f, "rb") { |f2| f2.read }#.gsub(/\n/, "\r\n")
|
||||
scripts << [rand(999_999), section_name, Zlib::Deflate.deflate(content)]
|
||||
end
|
||||
# Check each subfolder for scripts to aggregate
|
||||
|
||||
Reference in New Issue
Block a user