Skip to content

Commit

Permalink
Print file name when searching for broken links
Browse files Browse the repository at this point in the history
Summary:
Wasn't sure how to make it a one line wonder, so probably could be improved -- but slapped it into a while loops and print name before triggering the `markdown-link-check`.

Refers to #344 (comment)

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes #345

Differential Revision: D4352870

Pulled By: jessesquires

fbshipit-source-id: df62c7c29c7236cba5a9163819c56247dd2d5070
  • Loading branch information
Sherlock authored and Facebook Github Bot committed Dec 20, 2016
1 parent efca5a7 commit 2957ee5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ script:

- if [ $CHECK_MARKDOWN == "YES" ]; then
npm install -g markdown-link-check;
find . -name "*.md" -exec cat {} \; | markdown-link-check;
find . -name "*.md" | while read filename; do
echo "Searching $filename";
cat "$filename" | markdown-link-check;
done
fi


Expand Down

0 comments on commit 2957ee5

Please sign in to comment.