summaryrefslogtreecommitdiff
path: root/xmake
diff options
context:
space:
mode:
Diffstat (limited to 'xmake')
-rw-r--r--xmake/core/sandbox/modules/import/core/sandbox/sandbox.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/sandbox/modules/import/core/sandbox/sandbox.lua b/xmake/core/sandbox/modules/import/core/sandbox/sandbox.lua
index da24536ba..5e24ec832 100644
--- a/xmake/core/sandbox/modules/import/core/sandbox/sandbox.lua
+++ b/xmake/core/sandbox/modules/import/core/sandbox/sandbox.lua
@@ -45,10 +45,10 @@ function sandbox_core_sandbox.interactive()
end
-- bind sandbox environment
- setfenv(0, instance._PUBLIC)
+-- setfenv(0, instance._PUBLIC)
-- enter interactive mode with this new sandbox
- sandbox.interactive()
+ sandbox.interactive(instance._PUBLIC)
end
-- return module