From 309b19f627a0623947ad4e7b125d7ccef731c095 Mon Sep 17 00:00:00 2001 From: Saikari Date: Sat, 31 Jan 2026 15:59:30 +0300 Subject: Update os.lua --- xmake/core/base/os.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index 9332f2c61..12bc30c1d 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -1187,10 +1187,7 @@ function os.isexec(filepath) end end elseif os.isfile(filepath) then - if os._access then - return os._access(filepath, "x") - end - return true + return os._access(filepath, "x") end return false end -- cgit v1.3.1