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:
parent
91d4a0b00c
commit
ba0b931801
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue