From 63fa6fd46dcda1e8add93bb1e3b7e9379c32070d Mon Sep 17 00:00:00 2001 From: Jon Date: Tue, 22 Feb 2022 22:06:15 +0000 Subject: [PATCH] hotpocket.sh: undo 40259b3836f76f326ee36d2e5496d271f8c264d2 --- hotpocket.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hotpocket.sh b/hotpocket.sh index ea5c2d5..c4ebd34 100755 --- a/hotpocket.sh +++ b/hotpocket.sh @@ -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