Skip to content

Commit

Permalink
refactor(error-messages): improve error message for check-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
drubin committed Nov 5, 2018
1 parent f7eb00e commit 5c4fb3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/check-docs
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# linter before git check so we can lint docs even if they are 'dirty'
find docs -name '*.md' -type f -exec markdown-link-check {} \;

git diff --quiet HEAD -- docs/ || (echo 'generated docs are not up-to-date!' && exit 1)
git diff --quiet HEAD -- docs/ || (echo 'generated docs are not up-to-date! run \"npm run generate-docs\" and commit the changes\n' && exit 1)

0 comments on commit 5c4fb3a

Please sign in to comment.