fix: match wrong magic symbol

This commit is contained in:
KotIsOff 2025-08-26 01:59:00 +03:00
parent 7aa4c33721
commit 01b3229aac

View File

@ -179,7 +179,7 @@ end
local 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
return false;
end