summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-x.husky/pre-commit2
1 files changed, 2 insertions, 0 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit

index dbbc6d5f..d91d5d93 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit
@@ -17,6 +17,8 @@ if [ -n "$(find "flake.lock" -mtime +7 -print)" ]; then else echo "You do not appear to have nix installed. Skipping update of nix dependencies." fi +else + echo "Nix flake lock was updated less than 7 days ago. Skipping update." fi npx -y lint-staged