hotpocket.sh: undo 40259b3836
This commit is contained in:
parent
40259b3836
commit
63fa6fd46d
@ -355,8 +355,9 @@ ingestRule () {
|
|||||||
local action_tags
|
local action_tags
|
||||||
local match
|
local match
|
||||||
local code
|
local code
|
||||||
# | applyTopicsToTags
|
|
||||||
rule_tags="$(oneOfTagsAsArray <<< "$1")" || return 1
|
# TODO
|
||||||
|
rule_tags="$(oneOfTagsAsArray <<< "$1" | applyTopicsToTags)" || 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
|
||||||
|
Reference in New Issue
Block a user