From 7d5a9d50d140cf43ccabbfb3c6e35599e37870f5 Mon Sep 17 00:00:00 2001 From: Burt Date: Sun, 10 Nov 2024 22:50:35 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E5=85=B6=E4=BB=96=E4=BA=BA=E4=B8=8D?= =?UTF-8?q?=E4=B8=80=E5=AE=9A=E7=94=A8=20nvm=20,=E6=89=80=E4=BB=A5?= =?UTF-8?q?=E5=8E=BB=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .husky/commit-msg | 7 ------- .husky/pre-commit | 7 ------- 2 files changed, 14 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index db13bbb..a521947 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,12 +1,5 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -# Load nvm -export NVM_DIR="$HOME/.nvm" -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm - -# Use the correct Node.js version -nvm use v20.15.1 - # Run the commit-msg hook npx --no-install commitlint --edit diff --git a/.husky/pre-commit b/.husky/pre-commit index 03adbc9..0599206 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,12 +1,5 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -# Load nvm -export NVM_DIR="$HOME/.nvm" -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm - -# Use the correct Node.js version -nvm use v20.15.1 - # Run the pre-commit hook npx --no-install -- lint-staged