Skip to content

Commit e432b35

Browse files
committed
Update platform.lua
1 parent 5d28f36 commit e432b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake/core/platform/platform.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ end
151151
-- get the toolchains
152152
function _instance:toolchains(opt)
153153
local toolchains = self:_memcache():get("toolchains")
154-
if not toolchains or #toolchains == 0 then
154+
if not toolchains then
155155

156156
-- get current valid toolchains from configuration cache
157157
local names = nil

0 commit comments

Comments
 (0)