summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA2va <[email protected]>2023-07-15 16:22:03 +0200
committerGitHub <[email protected]>2023-07-15 16:22:03 +0200
commit20bbab52aab79d3b27e541263ce8bf6710f2e9fd (patch)
treea85f78fcc306186a43d36bb98e5d3880e54dd097
parenta7d08d7a56876a3692f9a0549d3386effd2dd477 (diff)
Use pattern paramter
-rw-r--r--xmake/core/sandbox/modules/import/core/base/semver.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/import/core/base/semver.lua b/xmake/core/sandbox/modules/import/core/base/semver.lua
index f842a0a38..5737ea8b5 100644
--- a/xmake/core/sandbox/modules/import/core/base/semver.lua
+++ b/xmake/core/sandbox/modules/import/core/base/semver.lua
@@ -46,7 +46,7 @@ end
-- semver.match('a.b.c') => nil
--
function sandbox_core_base_semver.match(str, pos, pattern)
- return semver.match(str, pos)
+ return semver.match(str, pos, pattern)
end
-- is valid version?