fix: List properties out of order when contain more than 8 elements

This commit is contained in:
llcc
2022-03-07 13:41:29 +08:00
committed by Andelf
parent 1420e830ef
commit 6a8ab41d39
2 changed files with 3 additions and 3 deletions

View File

@@ -184,9 +184,9 @@
v (if (and
(string? v)
(contains? #{:alias :aliases :tags} k))
(set [v])
[v]
v)
v (if (coll? v) (set v) v)]
v (if (coll? v) (distinct v) v)]
[k v])))
(remove #(nil? (second %))))]
{:properties (into {} properties)