1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00

Fix wrong format specifier

This commit is contained in:
dmiller
2023-05-01 17:44:39 +00:00
parent 320523d416
commit b323270b7d

View File

@@ -67,7 +67,7 @@ local function _element_to_bson(key, value)
return false, "key must not start with $: ".. key
end
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
if type(value) == 'string' then