fix: match wrong magic symbol
This commit is contained in:
@@ -179,7 +179,7 @@ end
|
|||||||
local Version = {};
|
local Version = {};
|
||||||
|
|
||||||
function Version.matches_pattern(version)
|
function Version.matches_pattern(version)
|
||||||
for _, letter in string.gmatch(version, "%s+") do
|
for _, letter in string.gmatch(version, "%.+") do
|
||||||
if type(letter) ~= "number" or letter ~= "." then
|
if type(letter) ~= "number" or letter ~= "." then
|
||||||
return false;
|
return false;
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user