This commit is contained in:
chiu 2020-02-25 20:53:18 +08:00
parent 6e09325680
commit 8c646bdfb2
1 changed files with 0 additions and 1 deletions

View File

@ -38,7 +38,6 @@ all_template.each do |folder|
if !texts.include? "$theme-white" if !texts.include? "$theme-white"
texts = "$theme-white: #fff;\n" + texts texts = "$theme-white: #fff;\n" + texts
end end
folder = 'app/templates/ms_nctu_1129/'
tp_text = File.read(folder+'assets/stylesheets/template/template.scss') rescue '' tp_text = File.read(folder+'assets/stylesheets/template/template.scss') rescue ''
tp_last_text = tp_text tp_last_text = tp_text
tp_text.scan(/@import.*http.*;/).each do |pat| tp_text.scan(/@import.*http.*;/).each do |pat|