Skip to content

Commit

Permalink
fixup! build: add Travis job to check for dead URL links
Browse files Browse the repository at this point in the history
  • Loading branch information
richardlau committed Apr 18, 2019
1 parent f6dbf75 commit 3ed6684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
- npm install -g linkinator
script:
- if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
DOC_FILES=`curl -sL https:/nodejs/node/pull/${TRAVIS_PULL_REQUEST}.patch | grep -o '\bdoc/api/.*\.md\b'`
DOC_FILES=`curl -sL https:/nodejs/node/pull/${TRAVIS_PULL_REQUEST}.patch | grep -o '\bdoc/api/.*\.md\b'`;
if [ -n "${DOC_FILES}" ]; then
linkinator out/doc/api -r;
fi;
Expand Down

0 comments on commit 3ed6684

Please sign in to comment.