From 3eaf8377c036f5735b04d5220aa060363341aabf Mon Sep 17 00:00:00 2001 From: tianyingchun Date: Mon, 12 Aug 2024 21:08:25 +0800 Subject: [PATCH] fix: updates --- .husky/commit-msg | 3 +-- .husky/pre-commit | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index 96d45bf..ba6cc23 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,3 @@ #!/usr/bin/env sh -yarn run test:coverage -yarn generate-coverage-report --type readme + yarn commitlint --edit "$1" diff --git a/.husky/pre-commit b/.husky/pre-commit index ea5f83e..95dc3ee 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,7 @@ #!/bin/sh +yarn run test:coverage +yarn generate-coverage-report --type readme +git add . yarn lint-staged-files --debug