add missing local keyword. Fixes #1

This commit is contained in:
kikito
2015-09-10 22:29:48 +02:00
parent 7f215c7751
commit b992dd69ab

View File

@@ -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