Skip to content

Commit 94ff814

Browse files
authored
Update find_package.lua
1 parent 0105e6d commit 94ff814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake/modules/package/manager/cargo/find_package.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function main(name, opt)
138138

139139
local frameworkdirs = {}
140140
table.insert(frameworkdirs, librarydir)
141-
if os.exists(librarydir_host) then
141+
if os.isdir(librarydir_host) then
142142
table.insert(frameworkdirs, librarydir_host)
143143
end
144144

0 commit comments

Comments
 (0)