debug: dumps are saved in separate folder

Moved it from "binaries/" to "binaries/dump/"
This commit is contained in:
Unknown 2018-02-25 00:42:41 +03:00
parent f4941d8bb1
commit 9f81a538f6

View file

@ -220,7 +220,8 @@ local function table_dump_to_file(dumped_table, dumped_table_name, max_depth)
-- ## Saving to file ## -- ## Saving to file ##
-- #################### -- ####################
local file = assert(io.open(dumped_table_name .. ".json", "w+")) os.execute("mkdir dump 2>nul")
local file = assert(io.open("./dump/" .. dumped_table_name .. ".json", "w+"))
local function dump_to_file(table_entry, table_name, depth) local function dump_to_file(table_entry, table_name, depth)