mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-30 09:39:54 +00:00
Pre-commit: dont update nix flake if recently updated
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user