Skip to content

Commit 4453dda

Browse files
ci(travis): fix commitlint script
1 parent 1d4e760 commit 4453dda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ node_js:
44
install:
55
- npm install
66
script:
7-
- npx commitlint -e
7+
# Lint last commit from history
8+
- npx commitlint --from=HEAD~1
89
- npm run lint
910
- npm run dtslint
1011
- npm run cover

0 commit comments

Comments
 (0)