Skip to content

Commit 9b4aac8

Browse files
committed
fix(ci): Lefthook e2e-links command should only look for files in staged_files
1 parent c740602 commit 9b4aac8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lefthook.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ pre-push:
8787
tags: test,links
8888
glob: 'content/*.{md,html}'
8989
run: |
90-
echo "Running link checker for: {push_files}"
91-
yarn test:links {push_files}
90+
echo "Running link checker for: {staged_files}"
91+
yarn test:links {staged_files}
9292
exit $?
9393
9494
# Manage Docker containers

0 commit comments

Comments
 (0)