mirror of
https://github.com/hanzoai/kms.git
synced 2026-11-03 01:10:24 +00:00
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.
13 lines
397 B
Bash
Executable File
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
|