Another small fix
This commit is contained in:
@@ -305,7 +305,7 @@ local API = {}
|
||||
--- Starts a custom benchmark
|
||||
--- @shortDescription Starts timing a custom operation
|
||||
--- @param name string The name of the benchmark
|
||||
--- @param options? table Optional configuration
|
||||
--- @param options? table Optional configuration
|
||||
function API.start(name, options)
|
||||
options = options or {}
|
||||
local profile = createProfile()
|
||||
|
||||
@@ -480,7 +480,7 @@ function markdown.saveToFile(source, output)
|
||||
|
||||
for k,v in pairs(sortedOutput) do
|
||||
if(v.data.splitClass)then
|
||||
local subFile = io.open(source.."_"..v.data.className..".md", "w")
|
||||
local subFile = io.open(source.."_"..v.data.className:gsub(":", "_"):gsub(" ", "")..".md", "w")
|
||||
if not subFile then
|
||||
error("Could not open file for writing: " .. source.."_"..v.data.className..".md")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user