Skip to content

Commit 1eb44cd

Browse files
JMarkinboltlessengineer
authored andcommitted
fix(statistics): fix skip curl.statistics key
1 parent 6fc08c9 commit 1eb44cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/rest-nvim/config/check.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function check.get_unrecognized_keys(tbl, default_tbl)
105105
end
106106
end
107107
for k, _ in pairs(ret) do
108-
if k:find("statistics") then
108+
if type(k) == "string" and k:find("statistics") then
109109
ret[k] = nil
110110
end
111111
end

0 commit comments

Comments
 (0)