diff --git a/modules/pre-commit.nix b/modules/pre-commit.nix index 0234084c..d340a487 100644 --- a/modules/pre-commit.nix +++ b/modules/pre-commit.nix @@ -67,7 +67,7 @@ let git config --global user.email "you@example.com" git config --global user.name "Your Name" git commit -m "init" -q - if [[ ${toString (compare install_stages [ "manual" ])} -eq 0 ]] + if [[ ${toString (compare install_stages [ "manual" ])} -eq 1 ]] then echo "Running: $ pre-commit run --hook-stage manual --all-files" ${cfg.package}/bin/pre-commit run --hook-stage manual --all-files