summaryrefslogtreecommitdiff
path: root/xmake/core/base/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-05-02 22:53:52 +0800
committerruki <[email protected]>2018-05-02 11:23:17 +0800
commit0bafe409d0687ebd429037907f15617fe4b42d53 (patch)
tree102b1e177bc7eb2ca3b2471a55f99fdc2bee3dd6 /xmake/core/base/os.lua
parentd1db6a9b8cc657ea5b3fc1cddb52d3b351639680 (diff)
modify os.match
Diffstat (limited to 'xmake/core/base/os.lua')
-rw-r--r--xmake/core/base/os.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua
index 679ac50fa..fba49b64d 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -286,7 +286,7 @@ end
--
-- @note only return {} without count to simplify code, .e.g unpack(os.dirs(""))
--
-function os.dirs(pattern, ...)
+function os.dirs(pattern)
return (os.match(pattern, 'd'))
end