There was an error while loading. Please reload this page.
2 parents bca82ca + 9281661 commit 43b3c1aCopy full SHA for 43b3c1a
1 file changed
modules/pre-commit.nix
@@ -103,11 +103,11 @@ let
103
git commit -m "init" -q
104
if [[ ${toString (compare cfg.installStages [ "manual" ])} -eq 0 ]]
105
then
106
- echo "Running: $ pre-commit run --hook-stage manual --all-files"
+ echo "Running: $ ${cfg.package.pname} run --hook-stage manual --all-files"
107
${lib.getExe cfg.package} run -c ${cfg.configPath} --hook-stage manual --all-files
108
else
109
- echo "Running: $ pre-commit run --all-files"
110
- ${lib.getExe cfg.package} run -c ${cfg.configPath} --all-files
+ echo "Running: $ ${cfg.package.pname} run --all-files"
+ ${lib.getExe cfg.package} run -c ${cfg.configPath} --all-files
111
fi
112
exitcode=$?
113
git --no-pager diff --color
0 commit comments