From b992dd69abc0d474ae9aea82001007f96b0ba3dd Mon Sep 17 00:00:00 2001 From: kikito Date: Thu, 10 Sep 2015 22:29:48 +0200 Subject: [PATCH] add missing local keyword. Fixes #1 --- semver.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semver.lua b/semver.lua index 5676de6..776087b 100644 --- a/semver.lua +++ b/semver.lua @@ -45,7 +45,7 @@ end local function parseBuild(buildWithSign) if buildWithSign then - build = buildWithSign:match("^%+(%w[%.%w-]*)$") + local build = buildWithSign:match("^%+(%w[%.%w-]*)$") assert(build, ("The build %q is not a + sign followed by alphanumerics, dots and slashes"):format(buildWithSign)) return build end