瀏覽代碼

build: test nvm

Burt 1 年之前
父節點
當前提交
06bcf616c6
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      .husky/commit-msg
  2. 1 1
      .husky/pre-commit

+ 1 - 1
.husky/commit-msg

@@ -6,7 +6,7 @@ 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
+# nvm use v20.15.1
 
 # Run the commit-msg hook
 npx --no-install commitlint --edit

+ 1 - 1
.husky/pre-commit

@@ -6,7 +6,7 @@ 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
+# nvm use v20.15.1
 
 # Run the pre-commit hook
 npx --no-install -- lint-staged