hotpocket.sh: dont match tag aliases for rule tags

This commit is contained in:
Jon 2022-02-22 22:04:30 +00:00
parent ba2a241c90
commit 40259b3836

View File

@ -355,7 +355,8 @@ ingestRule () {
local action_tags local action_tags
local match local match
local code local code
rule_tags="$(oneOfTagsAsArray <<< "$1" | applyTopicsToTags)" || return 1 # | applyTopicsToTags
rule_tags="$(oneOfTagsAsArray <<< "$1")" || return 1
for actions_index in $(arrayIndexList "$ACTIONS"); do for actions_index in $(arrayIndexList "$ACTIONS"); do
action="$(jq ".[$((actions_index-1))]" -rc <<< "$ACTIONS")" || return 2 action="$(jq ".[$((actions_index-1))]" -rc <<< "$ACTIONS")" || return 2