tdesign-vue-next-starter/.husky/pre-commit

9 lines
127 B
Bash
Executable File

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
if [[ "$OS" == "Windows_NT" ]]; then
npx.cmd lint-staged
else
npx lint-staged
fi