From 2957ee5feb5c827d72bb80021fb59e93aa702653 Mon Sep 17 00:00:00 2001 From: Sherlock Date: Tue, 20 Dec 2016 12:14:53 -0800 Subject: [PATCH] Print file name when searching for broken links 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 https://github.com/Instagram/IGListKit/pull/344#issuecomment-268163911 - [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 https://github.com/Instagram/IGListKit/pull/345 Differential Revision: D4352870 Pulled By: jessesquires fbshipit-source-id: df62c7c29c7236cba5a9163819c56247dd2d5070 --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5a5dde59..65ef4851 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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