diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2014-10-02 11:44:06 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-10-02 11:44:06 -0300 |
commit | 0467ebad1ade111323e345bf295adc143e3ceefd (patch) | |
tree | 09385ec199f15d6a9a28fb48d5347cd98059398e | |
parent | 8278ed2e1e007d155fc75b1cf925932970b0693c (diff) | |
parent | d15e99fd75540996792fba19245a8df1bfcc153a (diff) | |
download | luarocks-0467ebad1ade111323e345bf295adc143e3ceefd.tar.gz luarocks-0467ebad1ade111323e345bf295adc143e3ceefd.tar.bz2 luarocks-0467ebad1ade111323e345bf295adc143e3ceefd.zip |
Merge branch 'master' of https://github.com/keplerproject/luarocks
-rw-r--r-- | src/luarocks/type_check.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/type_check.lua b/src/luarocks/type_check.lua index 4adb7cf4..bc315214 100644 --- a/src/luarocks/type_check.lua +++ b/src/luarocks/type_check.lua | |||
@@ -216,7 +216,7 @@ local function type_check_item(version, item, typetbl, context) | |||
216 | end | 216 | end |
217 | if typetbl._pattern then | 217 | if typetbl._pattern then |
218 | if not item:match("^"..typetbl._pattern.."$") then | 218 | if not item:match("^"..typetbl._pattern.."$") then |
219 | return nil, "Type mismatch on field "..context..": invalid value "..item.." does not match '"..expected.."'" | 219 | return nil, "Type mismatch on field "..context..": invalid value "..item.." does not match '"..typetbl._pattern.."'" |
220 | end | 220 | end |
221 | end | 221 | end |
222 | elseif expected_type == "table" then | 222 | elseif expected_type == "table" then |