aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-03-09 02:38:51 +0100
committerKim Alvefur <zash@zash.se>2021-03-09 02:38:51 +0100
commitae408259256bfcf6a0f2daabc84241a25286ba45 (patch)
tree3a156b38baf3f8a7f6ce99e143b6ae11eb42d3a6 /teal-src/util
parentda85d37bcb847acf53031811277392afe2a17ed2 (diff)
downloadprosody-ae408259256bfcf6a0f2daabc84241a25286ba45.tar.gz
prosody-ae408259256bfcf6a0f2daabc84241a25286ba45.zip
util.jsonschema: Fix "uniqueItems" prematurely declaring a match
Diffstat (limited to 'teal-src/util')
-rw-r--r--teal-src/util/jsonschema.tl1
1 files changed, 0 insertions, 1 deletions
diff --git a/teal-src/util/jsonschema.tl b/teal-src/util/jsonschema.tl
index 89a9b724..3aa0b6a3 100644
--- a/teal-src/util/jsonschema.tl
+++ b/teal-src/util/jsonschema.tl
@@ -275,7 +275,6 @@ type_validators.table = function (schema : schema_t, data : any) : boolean
end
values[v] = true
end
- return true
end
local p = 0