diff options
-rw-r--r-- | src/luarocks/type_check.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/luarocks/type_check.lua b/src/luarocks/type_check.lua index bc315214..5e3bfb0d 100644 --- a/src/luarocks/type_check.lua +++ b/src/luarocks/type_check.lua | |||
@@ -11,6 +11,7 @@ local deps = require("luarocks.deps") | |||
11 | type_check.rockspec_format = "1.1" | 11 | type_check.rockspec_format = "1.1" |
12 | 12 | ||
13 | local string_1 = { _type = "string" } | 13 | local string_1 = { _type = "string" } |
14 | local number_1 = { _type = "number" } | ||
14 | local mandatory_string_1 = { _type = "string", _mandatory = true } | 15 | local mandatory_string_1 = { _type = "string", _mandatory = true } |
15 | 16 | ||
16 | -- Syntax for type-checking tables: | 17 | -- Syntax for type-checking tables: |
@@ -159,7 +160,7 @@ local manifest_types = { | |||
159 | op = string_1, | 160 | op = string_1, |
160 | version = { | 161 | version = { |
161 | string = string_1, | 162 | string = string_1, |
162 | _any = 0, | 163 | _any = number_1, |
163 | } | 164 | } |
164 | } | 165 | } |
165 | } | 166 | } |