Skip to content

Commit 0e80a8b

Browse files
committed
ci(scripts): add -nr 3 to commitizen commit check
when first creating a commit, there won't be any commit ahead of origin/master.. Thus, no commit to check error won't make sense in this case
1 parent 838878e commit 0e80a8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ ${PREFIX}isort --check-only commitizen tests
1010
${PREFIX}flake8 commitizen/ tests/
1111
${PREFIX}mypy commitizen/ tests/
1212
${PREFIX}pydocstyle --convention=google --add-ignore=D1,D415 --match-dir='"${REGEX}"'
13-
${PREFIX}commitizen check --rev-range origin/master..
13+
${PREFIX}commitizen -nr 3 check --rev-range origin/master..

0 commit comments

Comments
 (0)