summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox/modules/utils.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-07-05 22:10:47 +0800
committerGitHub <[email protected]>2019-07-05 22:10:47 +0800
commitcf8ff12bc05fde4cb94344d1ca1bce31a4778527 (patch)
treec17e7b563d8a4bcd3fac50ffbf8ae78864efac41 /xmake/core/sandbox/modules/utils.lua
parent789e43df6a5430db61fae2c2b268ab42376616e6 (diff)
parentdae10753450c75af10c300dbaf00653b15a27e87 (diff)
Merge pull request #477 from OpportunityLiu/improve-dump
improve dump
Diffstat (limited to 'xmake/core/sandbox/modules/utils.lua')
-rw-r--r--xmake/core/sandbox/modules/utils.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/xmake/core/sandbox/modules/utils.lua b/xmake/core/sandbox/modules/utils.lua
index 7e3129fcb..a81c84ded 100644
--- a/xmake/core/sandbox/modules/utils.lua
+++ b/xmake/core/sandbox/modules/utils.lua
@@ -189,9 +189,8 @@ function sandbox_utils.confirm(opt)
end
-- dump value
-function sandbox_utils.dump(value, indent)
- return utils.dump(value, indent)
-end
+-- do not change to a function call to utils.dump since debug.getinfo is called in utils.dump to get caller info
+sandbox_utils.dump = utils.dump
-- return module
return sandbox_utils