Skip to content

Commit

Permalink
chore(ci): fixed the lint-commit script
Browse files Browse the repository at this point in the history
  • Loading branch information
Morten Henriksen committed Nov 28, 2017
1 parent 777b891 commit 464d824
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/lint-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ fi
# Lint all commits in the PR
# - Covers fork pull requests (when TO=slug/branch)
# - Covers branch pull requests (when TO=branch)
./node_modules/.bin/commitlint --from="$TRAVIS_BRANCH" --to="$TO"
npx commitlint --from="$TRAVIS_BRANCH" --to="$TO"

# Always lint the triggerig commit
# - Covers direct commits
./node_modules/.bin/commitlint --from="$TRAVIS_COMMIT"
H
npx commitlint --from="$TRAVIS_COMMIT"

0 comments on commit 464d824

Please sign in to comment.