Skip to content

Commit 5764635

Browse files
committed
fix(ci): align hooks equivalence commitlint resolution
1 parent 6c54363 commit 5764635

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

scripts/ci/hooks-equivalence-gate.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,7 @@ run_actionlint_precommit() {
5555
run_commitlint_range() {
5656
local from_ref="$1"
5757
local to_ref="$2"
58-
pnpm dlx \
59-
--package=@commitlint/cli \
60-
--package=@commitlint/config-conventional \
61-
commitlint \
62-
--extends @commitlint/config-conventional \
58+
pnpm exec commitlint \
6359
--from "$from_ref" \
6460
--to "$to_ref" \
6561
--verbose

0 commit comments

Comments
 (0)