mirror of
https://github.com/nmap/nmap.git
synced 2025-12-11 10:19:03 +00:00
Fix wrong format specifier
This commit is contained in:
@@ -67,7 +67,7 @@ local function _element_to_bson(key, value)
|
|||||||
return false, "key must not start with $: ".. key
|
return false, "key must not start with $: ".. key
|
||||||
end
|
end
|
||||||
if key:find("%.") then
|
if key:find("%.") then
|
||||||
return false, ("key %r must not contain '.'"):format(tostring(key))
|
return false, ("key %s must not contain '.'"):format(tostring(key))
|
||||||
end
|
end
|
||||||
|
|
||||||
if type(value) == 'string' then
|
if type(value) == 'string' then
|
||||||
|
|||||||
Reference in New Issue
Block a user