Files
kms/.husky/pre-commit
zooqueenandGitHub 8958a7702d rebrand: replace upstream Infisical references with Hanzo KMS equivalents (#1)
Replace Infisical product name, email addresses, domain names, and
file names with Hanzo KMS equivalents across docs, templates, tests,
and configuration. Functional references to upstream packages
(@infisical/quic, artifacts-cli.infisical.com, CLI binary) are
preserved with clarifying comments since they reference actual
upstream software dependencies.
2026-03-01 20:24:17 -08:00

13 lines
397 B
Bash
Executable File

#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
echo "🔥 Pre-commit hook is running!"
# Check if kms CLI is installed
if ! command -v kms >/dev/null 2>&1; then
echo "\nError: KMS CLI (kms) is not installed. Please install the KMS CLI before committing.\n You can refer to the documentation at https://kms.hanzo.ai/docs/cli/overview\n\n"
exit 1
fi
kms scan git-changes --staged -v