auto format
This commit is contained in:
parent
fa5965dbb6
commit
c070601427
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue