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

add tips

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