From 6e20517019e0cfa1ca60ed1311f18708cbbccb7e Mon Sep 17 00:00:00 2001 From: randy Date: Thu, 20 Apr 2023 17:40:16 +0800 Subject: [PATCH] =?UTF-8?q?ci(test):=20=E6=B7=BB=E5=8A=A0=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E6=97=B6=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 514bc77..3c1ffad 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ }, "husky": { "hooks": { - "pre-commit": "lint-staged", + "pre-commit": "lint-staged && test", "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS" } } diff --git a/src/index.ts b/src/index.ts index c2fab99..2e3f8ba 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,3 @@ export * from "./utils/permission"; - console.log("index"); + console.log("index")