diff options
| author | ruki <[email protected]> | 2022-09-10 23:48:40 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-09-10 23:48:40 +0800 |
| commit | 43ca57ce4252e4c2bce03b04ce04bb2f1245b01a (patch) | |
| tree | 06eeec0c1e8521cb47d1445c59a6b1c2049d6c6b /xmake/core/sandbox/modules/try.lua | |
| parent | 604f6fc19a82797c58361f86a1adf07a8f68677b (diff) | |
format code
Diffstat (limited to 'xmake/core/sandbox/modules/try.lua')
| -rw-r--r-- | xmake/core/sandbox/modules/try.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xmake/core/sandbox/modules/try.lua b/xmake/core/sandbox/modules/try.lua index 5fa12fff0..0133c20b7 100644 --- a/xmake/core/sandbox/modules/try.lua +++ b/xmake/core/sandbox/modules/try.lua @@ -77,12 +77,8 @@ function sandbox_try._traceback(errors) else results = results .. string.format(" [%s:%d]:\n", info.short_src, info.currentline) end - - -- next level = level + 1 end - - -- ok? return results end @@ -133,7 +129,6 @@ function sandbox_try.try(block) funcs.finally(ok, table.unpack(results, 2, results.n)) end - -- ok? if ok then return table.unpack(results, 2, results.n) end |
