Skip to content

Commit 04fcc02

Browse files
committed
chore(commit): fix
1 parent 4768e5f commit 04fcc02

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
PR_COMMITS: ${{ github.event.pull_request.commits }}
4242
run: |
4343
npm run lint:commit -- \
44-
--from ${{ PR_HEAD }}~${{ PR_COMMITS }} \
45-
--to ${{ PR_HEAD }} --verbose
44+
--from ${{ env.PR_HEAD }}~${{ env.PR_COMMITS }} \
45+
--to ${{ env.PR_HEAD }} --verbose
4646
4747
- name: Lint files
4848
run: npm run lint

.husky/prepare-commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
22

3-
exec < /dev/tty && npm run commit --hook || true
3+
exec < /dev/tty && npm run commit -- --hook || true

0 commit comments

Comments
 (0)