Skip to content

Commit

Permalink
pass args to command
Browse files Browse the repository at this point in the history
  • Loading branch information
alxgomz committed Dec 4, 2024
1 parent c662419 commit 2871f86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
entry: >-
bash -eu -o pipefail -c
"echo ARGS: \"$@\"; for f in $@; do
[[ \"$f\" =~ --* ]] && MDTOC_ARG=\"$f $MDTOC_ARG\" && continue;
[ -f \"$f\" ] && markdown-toc -i $f;
done"
language: system

0 comments on commit 2871f86

Please sign in to comment.