#1 TypeError: Cannot read properties of undefined (reading 'toLowerCase') [v1.10.8-15, all] #2

Merged
q merged 13 commits from jon/element-web-patches:master into master 2022-03-31 16:19:31 -04:00
Showing only changes of commit 16eddee67c - Show all commits

View File

@ -4,12 +4,12 @@ reactions="$(yq . /dev/stdin < reactions.yaml)"
jq -n --argjson reactions "$reactions" \ jq -n --argjson reactions "$reactions" \
'[ '[
$reactions[] | { $reactions[] | {
label: ., label: .emoji,
hexcode: "2721", hexcode: "2721",
shortcodes: [ . ], shortcodes: [ .emoji ],
tags: [ . ], tags: (.tags? + [ .emoji ]),
emoji: ., emoji: .emoji,
text: ., text: .emoji,
type: 0, type: 0,
order: 0, order: 0,
group: 8, group: 8,