diff --git a/bin/check-docs b/bin/check-docs index 8c340faf18..edc3ab66df 100755 --- a/bin/check-docs +++ b/bin/check-docs @@ -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)