Skip to content

Commit f234abf

Browse files
committed
[bug] lua - set profiler category correctly
1 parent fb99634 commit f234abf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/filters/ast/runemulation.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ local function run_emulated_filter_chain(doc, filters, afterFilterPass, profilin
7171
-- We don't seem to need coverage for profiling
7272
-- luacov: disable
7373
if profiling then
74-
profiler.category = v.name
74+
profiler.setcategory(v.name)
7575
end
7676
-- luacov: enable
7777

0 commit comments

Comments
 (0)