mirror of
https://github.com/TangentFoxy/.lua-files.git
synced 2024-11-20 21:34:23 +00:00
rm unneeded lines
This commit is contained in:
parent
d33dc72f12
commit
599d5f0612
@ -84,7 +84,6 @@ local function load_config(config_file_text)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function format_metadata(config)
|
local function format_metadata(config)
|
||||||
-- TODO use enquote
|
|
||||||
local function stringify_list(list)
|
local function stringify_list(list)
|
||||||
local output = utility.escape_quotes(list[1]):enquote()
|
local output = utility.escape_quotes(list[1]):enquote()
|
||||||
for i = 2, #list do
|
for i = 2, #list do
|
||||||
@ -275,7 +274,6 @@ end
|
|||||||
|
|
||||||
local function rm_page_files(config)
|
local function rm_page_files(config)
|
||||||
local working_dir = get_base_file_name(config)
|
local working_dir = get_base_file_name(config)
|
||||||
os.execute("sleep 1") -- fix #14 race condition from the previous command
|
|
||||||
|
|
||||||
for section = config.sections.start, config.sections.finish do
|
for section = config.sections.start, config.sections.finish do
|
||||||
local section_dir = working_dir .. path_separator .. tostring(section)
|
local section_dir = working_dir .. path_separator .. tostring(section)
|
||||||
|
Loading…
Reference in New Issue
Block a user