Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion repo-config/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ ruleset_id() {
return 1
fi
# shellcheck disable=SC2016 # $n is a jq --arg variable, not a shell expansion
ids="$(jq -r --arg n "$1" '.[] | select(.name==$n) | .id' <<<"$out")"
ids="$(jqr --arg n "$1" '.[] | select(.name==$n) | .id' <<<"$out")"
if [ -z "$ids" ]; then return 0; fi
# Pre-existing drift can leave more than one ruleset with the same name.
# Use the first and warn, so the duplicates get resolved rather than silently operating on the wrong one.
Expand Down
Loading