diff options
| author | ruki <[email protected]> | 2024-03-12 00:37:21 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-03-12 00:37:21 +0800 |
| commit | 86f3b19fe2cbaec44a1334285d6aa63db0254684 (patch) | |
| tree | 3d5e0e396f5be56e4361ad4ee0178af3fd2af168 /xmake/core/base/utils.lua | |
| parent | 16e8c3532b8ff54dadea579cc9525e63bfbf013d (diff) | |
remove ifelse
Diffstat (limited to 'xmake/core/base/utils.lua')
| -rw-r--r-- | xmake/core/base/utils.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xmake/core/base/utils.lua b/xmake/core/base/utils.lua index c1b78af4d..e8b6401f6 100644 --- a/xmake/core/base/utils.lua +++ b/xmake/core/base/utils.lua @@ -270,11 +270,6 @@ function utils.show_warnings() end end --- ifelse, a? b : c -function utils.ifelse(a, b, c) - if a then return b else return c end -end - -- try to call script function utils.trycall(script, traceback, ...) return xpcall(script, function (errors) |
