Skip to content

Commit

Permalink
改名为report.log
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Apr 19, 2018
1 parent cf92d63 commit 032269b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/plugin/*
!/plugin/示例.lua
/*.w3x
/log.txt
/report.log
/data/mpq/
!/data/mpq/zhCN-1.24.4
!/data/mpq/enUS-1.24.4
Expand Down
4 changes: 2 additions & 2 deletions script/map.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ elseif act == 'version' then
messager.raw('w3x2lni version '..cl[1].version)
return
elseif act == 'log' then
messager.raw(io.load(root:parent_path() / 'log.txt'))
messager.raw(io.load(root:parent_path() / 'report.log'))
return
elseif not act or act == 'help' then
require 'tool.showhelp'
Expand Down Expand Up @@ -386,6 +386,6 @@ builder.save(w2l, output_ar, slk.w3i, input_ar)
w2l.progress:finish()

save_builder()
io.save(root:parent_path() / 'log.txt', get_report(report))
io.save(root:parent_path() / 'report.log', get_report(report))
messager.text((lang.script.FINISH):format(os.clock()))
exit(report)

0 comments on commit 032269b

Please sign in to comment.