summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox/modules/utils.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-05-25 22:03:58 +0800
committerruki <[email protected]>2019-05-25 22:03:58 +0800
commit2cae1ff2dc7f1756a8a831cfde5c6610342f978f (patch)
tree397a3b92fd0405dff31e2cb0ea9cd1d02a5c32fe /xmake/core/sandbox/modules/utils.lua
parente2b3965574e574fafbd76d89ee6f5d18ca1265cd (diff)
add confirm option
Diffstat (limited to 'xmake/core/sandbox/modules/utils.lua')
-rw-r--r--xmake/core/sandbox/modules/utils.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/sandbox/modules/utils.lua b/xmake/core/sandbox/modules/utils.lua
index b27ce31d3..2d026a600 100644
--- a/xmake/core/sandbox/modules/utils.lua
+++ b/xmake/core/sandbox/modules/utils.lua
@@ -183,6 +183,11 @@ function sandbox_utils.assert(value, format, ...)
return value
end
+-- get user confirm
+function sandbox_utils.confirm(opt)
+ return utils.confirm(opt)
+end
+
-- return module
return sandbox_utils