Skip to content

Commit 433a46e

Browse files
committed
Remove test code
1 parent b4014c9 commit 433a46e

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

plugins/lua-dumper/src/client/init.lua

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,3 @@ Autorun.on("loadbuffer", function(scriptName, scriptCode)
1414
Autorun.mkdir(hostName .. "/" .. parentDir)
1515
Autorun.writeAsync(hostName .. "/" .. scriptName, scriptCode)
1616
end)
17-
18-
Autorun.print("Hi!")
19-
Autorun.print("\n" .. debug.traceback())
20-
21-
_G.TryTheThing = function()
22-
jit.attach(function(proto)
23-
local isAuthorized = Autorun.isProtoAuthorized(proto)
24-
Autorun.print("JIT attach: " ..
25-
(isAuthorized and "authorized" or "unauthorized") .. " proto: " .. tostring(proto))
26-
end, "bc")
27-
28-
-- make functions to trigger it
29-
30-
Autorun.load("_G.print('Hi from test bc trigger!')", "test_bc_trigger.lua")()
31-
end

0 commit comments

Comments
 (0)