fix bug
This commit is contained in:
parent
12308ea6f8
commit
9ca3b1e000
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue