fix: Remove unused ACTION_TYPE/ACTION_SOURCE in vault-reject.sh

These variables were only used by the matrix_send call removed in the
prior commit. ShellCheck SC2034 flagged them as unused.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-26 14:56:33 +00:00
parent 23949083c0
commit 472d70e4bb

View file

@ -29,9 +29,6 @@ else
exit 1 exit 1
fi fi
ACTION_TYPE=$(jq -r '.type // "unknown"' < "$ACTION_FILE" 2>/dev/null)
ACTION_SOURCE=$(jq -r '.source // "unknown"' < "$ACTION_FILE" 2>/dev/null)
# Update with rejection metadata and move to rejected/ # Update with rejection metadata and move to rejected/
TMP=$(mktemp) TMP=$(mktemp)
jq --arg reason "$REASON" --arg ts "$(date -u +%Y-%m-%dT%H:%M:%SZ)" \ jq --arg reason "$REASON" --arg ts "$(date -u +%Y-%m-%dT%H:%M:%SZ)" \