Avoid trailing spaces in distributable script
This commit is contained in:
1 parent
b068fe7574
commit
dca4c49770
1 file changed
+7
-1
+7
-1
@@ -60,7 +60,13 @@ combined_file.each do |line|
|
||||
end
|
||||
end
|
||||
|
||||
license = File.read("LICENSE.txt").gsub(/^/, "# ")
|
||||
license = File.read("LICENSE.txt").gsub(/^(.*?)$/) do |line|
|
||||
if line.size > 0
|
||||
"# #{line}"
|
||||
else
|
||||
"#"
|
||||
end
|
||||
end
|
||||
|
||||
require "zlib"
|
||||
require "base64"
|
||||
|
||||
Reference in new issue
Block a user