Skip to content

tools: do not lint commit message if var undefined

Check that $TRAVIS_COMMIT_RANGE is set before trying to lint commit messages in Travis CI.

Refs: https://github.com/nodejs/node/pull/23572#issuecomment-430850382 Refs: https://github.com/nodejs/node/pull/22842#issuecomment-430850049

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading