auto format

This commit is contained in:
Ren Tatsumoto 2020-09-20 02:47:10 +03:00
parent fa5965dbb6
commit c070601427

View file

@ -41,17 +41,16 @@ end
local function add_extension(filename, extension)
return filename .. extension
end
local function remove_extension(filename)
return filename:gsub('%.%w+$','')
return filename:gsub('%.%w+$', '')
end
local function remove_text_in_brackets(str)
return str:gsub('%b[]','')
return str:gsub('%b[]', '')
end
local function remove_special_characters(str)
return str:gsub('[%c%p%s]','')
return str:gsub('[%c%p%s]', '')
end
local function human_readable_time(seconds)