Skip to content

Commit 4ec8f40

Browse files
committed
Print file path
1 parent 27cf82e commit 4ec8f40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/hooks.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2237,9 +2237,10 @@ in
22372237
description = "Validate CircleCI config files.";
22382238
package = tools.circleci-cli;
22392239
entry = builtins.toString (pkgs.writeShellScript "precommit-circleci" ''
2240-
set -o errexit
2240+
set -e
22412241
22422242
for file in "$@"; do
2243+
echo "$file"
22432244
${hooks.circleci.package}/bin/circleci config validate "$file"
22442245
done
22452246
'');

0 commit comments

Comments
 (0)