summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2019-09-04 00:29:47 +0800
committerruki <[email protected]>2019-09-03 20:58:46 +0800
commitc97ee9d0ba48ac615caa9f239436645bc2e0af5a (patch)
treedcca49b5bd7cc791ec5586317af3e70f7807fe7e
parent4ef41f3882fe0c7391d5d0689a7fd72baca7da5d (diff)
remove check platform/os
-rw-r--r--xmake/core/sandbox/modules/import/core/platform/platform.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/import/core/platform/platform.lua b/xmake/core/sandbox/modules/import/core/platform/platform.lua
index 5655dd006..7778c5ca1 100644
--- a/xmake/core/sandbox/modules/import/core/platform/platform.lua
+++ b/xmake/core/sandbox/modules/import/core/platform/platform.lua
@@ -37,7 +37,7 @@ end
-- get the platform os
function sandbox_core_platform.os()
- return assert(platform.os())
+ return platform.os()
end
-- get the all platforms