mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-06 22:23:53 -05:00
13 lines
393 B
Bash
Executable File
13 lines
393 B
Bash
Executable File
#!/usr/bin/env sh
|
|
. "$(dirname -- "$0")/_/husky.sh"
|
|
|
|
# Check if infisical is installed
|
|
if ! command -v infisical >/dev/null 2>&1; then
|
|
echo "\nError: Infisical CLI is not installed. Please install the Infisical CLI before comitting.\n You can refer to the documentation at https://infisical.com/docs/cli/overview\n\n"
|
|
exit 1
|
|
fi
|
|
|
|
npx lint-staged
|
|
|
|
infisical scan git-changes --staged -v
|