Skip to content

Commit

Permalink
[bug] lua profiler - fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cscheid committed Jan 16, 2025
1 parent 4cfeaf0 commit fb99634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/filters/ast/runemulation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ local function emulate_pandoc_filter(filters, afterFilterPass)
profiler = require('profiler')
end
pandoc.system.with_temporary_directory("temp", function(tmpdir)
profiler.start(tmpdir .. "/prof.txt", tonumber(option("lua-profile-interval-ms", "5")))
profiler.start(tmpdir .. "/prof.txt", tonumber(option("lua-profiler-interval-ms", "5")))
doc = run_emulated_filter_chain(doc, filters, afterFilterPass, profiling)
profiler.stop()
-- os.execute("cp " .. tmpdir .. "/prof.txt /tmp/prof.out")
Expand Down

0 comments on commit fb99634

Please sign in to comment.