summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox/modules/utils.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-05-31 22:11:16 +0800
committerruki <[email protected]>2020-05-31 22:11:16 +0800
commit0f6136ff2b2e43b60c11c265f990e9dd022d7a65 (patch)
tree76d2419b088c93baf704718ccf790e30aa494305 /xmake/core/sandbox/modules/utils.lua
parent41bd7287e986fcf881c8d20494058c576bbcf252 (diff)
add some cursor ops for tty
Diffstat (limited to 'xmake/core/sandbox/modules/utils.lua')
-rw-r--r--xmake/core/sandbox/modules/utils.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/xmake/core/sandbox/modules/utils.lua b/xmake/core/sandbox/modules/utils.lua
index 8492b1302..4dac4a91e 100644
--- a/xmake/core/sandbox/modules/utils.lua
+++ b/xmake/core/sandbox/modules/utils.lua
@@ -174,8 +174,6 @@ end
-- assert
function sandbox_utils.assert(value, format, ...)
-
- -- check
if not value then
if format ~= nil then
os.raiselevel(2, format, ...)
@@ -183,8 +181,6 @@ function sandbox_utils.assert(value, format, ...)
os.raiselevel(2, "assertion failed!")
end
end
-
- -- return it
return value
end