fix(lefthook): remove duplicate lines

This commit is contained in:
TECHNOFAB 2025-12-19 12:00:02 +01:00
parent 6e9c8612b3
commit 0ce18964f5

View file

@ -51,12 +51,6 @@
lefthookConfig = (pkgs.formats.yaml {}).generate "lefthook.yaml" cfg.config; lefthookConfig = (pkgs.formats.yaml {}).generate "lefthook.yaml" cfg.config;
lefthookAlias = pkgs.writeShellScriptBin cfg.alias '' lefthookAlias = pkgs.writeShellScriptBin cfg.alias ''
if [ "$1" = "install" ]; then
echo "Warning, using 'lefthook install' should not be used, use the shellHook instead"
fi
if [ "$1" = "install" ]; then
echo "Warning, using 'lefthook install' should not be used, use the shellHook instead"
fi
if [ "$1" = "install" ]; then if [ "$1" = "install" ]; then
echo "Warning, using 'lefthook install' should not be used, use the shellHook instead" echo "Warning, using 'lefthook install' should not be used, use the shellHook instead"
fi fi