From 2cae1ff2dc7f1756a8a831cfde5c6610342f978f Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 25 May 2019 22:03:58 +0800 Subject: add confirm option --- xmake/core/sandbox/modules/utils.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xmake/core/sandbox/modules/utils.lua') 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 -- cgit v1.3.1