summaryrefslogtreecommitdiff
path: root/xmake/core
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-06-19 13:57:38 +0800
committerOpportunityLiu <[email protected]>2019-06-19 13:57:38 +0800
commit522a4454a460e46ee98a41c9c4f9df1f92ae0ffe (patch)
tree1144b8b53dcfb8c6b60f28ad5c07ef5cd29db7c3 /xmake/core
parent0ea0f53bf8b4f52c05337e5966545baf28d8a582 (diff)
use a safe name
Diffstat (limited to 'xmake/core')
-rw-r--r--xmake/core/sandbox/modules/import/core/sandbox/sandbox.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/import/core/sandbox/sandbox.lua b/xmake/core/sandbox/modules/import/core/sandbox/sandbox.lua
index 187cf7434..3f9ed4ccc 100644
--- a/xmake/core/sandbox/modules/import/core/sandbox/sandbox.lua
+++ b/xmake/core/sandbox/modules/import/core/sandbox/sandbox.lua
@@ -76,7 +76,7 @@ function sandbox_core_sandbox.interactive()
end
-- register dump function for interactive mode
- instance._PUBLIC.interactive_dump = sandbox_core_sandbox._interactive_dump
+ instance._PUBLIC["$interactive_dump"] = sandbox_core_sandbox._interactive_dump
-- enter interactive mode with this new sandbox
sandbox.interactive(instance._PUBLIC)