🐛 Normalize token set names in themes (#8914)

This commit is contained in:
Andrés Moya 2026-04-09 10:33:56 +02:00 committed by GitHub
parent f8dd64611f
commit deb3af23d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -723,7 +723,8 @@
(update :is-source d/nilv false)
(update :external-id #(or % (str new-id)))
(update :modified-at #(or % (ct/now)))
(update :sets #(into #{} (filter some?) %))
(update :sets #(into #{} (comp (filter some?)
(map normalize-set-name)) %))
(check-token-theme-attrs)
(map->TokenTheme))))