1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-30 12:07:46 +00:00

fix: Avoid syntax error

`!command` is a syntax error, so this check will always "pass".
This commit is contained in:
Victor Engmark 2022-09-23 00:11:47 +12:00 committed by Kevin Amado
parent 91d4a0b00c
commit ba0b931801

View file

@ -7,7 +7,7 @@ if ! command -v nix-build; then
exit 1
fi
if !command -v nix-instantiate; then
if ! command -v nix-instantiate; then
echo 'ERROR: this pre-commit hook requires "nix-instantiate" to be installed first'
exit 1
fi