hotpocket.sh: undo 40259b3836

This commit is contained in:
Jon 2022-02-22 22:06:15 +00:00
parent 40259b3836
commit 63fa6fd46d

View File

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