summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-17 10:41:12 +0100
committerRory& <root@rory.gay>2025-12-17 10:41:12 +0100
commit383ce014df67ff3eb506ba8c68e655e830c35d03 (patch)
treeeb74e99a7eb411cee0e6552adeae7c14f8e0f86a
parentRemove automod code in favor of dev/emma-wip stuff (diff)
downloadserver-ts-383ce014df67ff3eb506ba8c68e655e830c35d03.tar.xz
Pre-commit: dont update nix flake if recently updated
-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