This commit is contained in:
BOHUNG 2020-03-26 18:40:10 +08:00
parent 12308ea6f8
commit 9ca3b1e000
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ all_template.each do |folder|
texts = File.read(filename) texts = File.read(filename)
new_texts = texts.gsub(check_text,change_text) new_texts = texts.gsub(check_text,change_text)
if new_texts != texts if new_texts != texts
File.open(folder+filename,'w') do |f| File.open(filename,'w') do |f|
f.write new_texts f.write new_texts
end end
end end