Skip to content

Commit

Permalink
Update verify-toc.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
LiorLieberman authored and obiTrinobiIntel committed Feb 8, 2023
1 parent 66622e4 commit f48f251
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/verify-toc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ echo "Checking table of contents are up to date..."
find keps -name '*.md' \
| grep -Fxvf hack/.notableofcontents \
| xargs mdtoc --inplace --max-depth=5 --dryrun || (
echo "Table of content not up to date. If this failed silently and you are on mac, try 'brew install grep'"
echo "Table of content not up to date. Did you run 'make update-toc' ?"
echo "If this failed silently and you are on mac, try 'brew install grep'"
exit 1
)

0 comments on commit f48f251

Please sign in to comment.