提交 a25e7181 编写于 作者: 张重言's avatar 张重言 🌈

add tips

上级 06e6e015
......@@ -4,7 +4,7 @@ class BatchGenerator
def execute
rename_docxs
file_names = Dir.entries('docxs')
result = {}
......@@ -14,6 +14,7 @@ class BatchGenerator
p "#{file_name} generating..."
MdGenerator.new("docxs/#{file_name}").execute
result[file_name] = true
p "#{file_name} generated successfully"
rescue => e
p "#{file_name} failed"
p e
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册