fix(7733): shellcheck reads plugin_version as set for the hooks that source grimoire_defs.sh
CI & Build / TypeScript typecheck (push) Successful in 35s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Successful in 2m5s
CI & Build / integration (push) Successful in 2m17s
CI & Build / Build & push image (push) Successful in 36s
CI & Build / TypeScript typecheck (push) Successful in 35s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Successful in 2m5s
CI & Build / integration (push) Successful in 2m17s
CI & Build / Build & push image (push) Successful in 36s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -871,7 +871,9 @@ grimoire_config() {
|
||||
# Sent as `X-Grimoire-Plugin` on every request. The server keeps it on each
|
||||
# rule line it delivers, and counts a line toward a rule's open rate only
|
||||
# when it is there: a plugin that sends it also reports every open, so a
|
||||
# line without it is one whose opens were never going to be heard.
|
||||
# line without it is one whose opens were never going to be heard. The hooks
|
||||
# that source this file read it, which shellcheck cannot see from here.
|
||||
# shellcheck disable=SC2034
|
||||
plugin_version=$(sed -n 's/^ *"version": *"\([^"]*\)".*/\1/p' \
|
||||
"$(dirname "${BASH_SOURCE[0]}")/../.claude-plugin/plugin.json" 2>/dev/null | head -n 1)
|
||||
[ -n "$url" ] && [ -n "$token" ]
|
||||
|
||||
Reference in New Issue
Block a user