We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a8a28c commit 22043ccCopy full SHA for 22043cc
.travis.yml
@@ -13,7 +13,7 @@ matrix:
13
script:
14
- make lint
15
# Lint the first commit in the PR.
16
- - git log $TRAVIS_COMMIT_RANGE --pretty=format:'%h' --no-merges | tail -1 | xargs npx core-validate-commit --no-validate-metadata
+ - \[ -z "$TRAVIS_COMMIT_RANGE" \] || git log $TRAVIS_COMMIT_RANGE --pretty=format:'%h' --no-merges | tail -1 | xargs npx core-validate-commit --no-validate-metadata
17
- name: "Test Suite"
18
install:
19
- ./configure
0 commit comments