From 0ce18964f5043540554ebc4107e90673edbb7e9d Mon Sep 17 00:00:00 2001 From: TECHNOFAB Date: Fri, 19 Dec 2025 12:00:02 +0100 Subject: [PATCH] fix(lefthook): remove duplicate lines --- lib/modules/lefthook.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/modules/lefthook.nix b/lib/modules/lefthook.nix index b8f48b6..2a04693 100644 --- a/lib/modules/lefthook.nix +++ b/lib/modules/lefthook.nix @@ -51,12 +51,6 @@ lefthookConfig = (pkgs.formats.yaml {}).generate "lefthook.yaml" cfg.config; 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 echo "Warning, using 'lefthook install' should not be used, use the shellHook instead" fi