This commit is contained in:
Executable
+5
@@ -0,0 +1,5 @@
|
||||
if [ "$OS" = "Windows_NT" ]; then
|
||||
npx.cmd --no-install commitlint -e $GIT_PARAMS
|
||||
else
|
||||
npx --no-install commitlint -e $GIT_PARAMS
|
||||
fi
|
||||
Executable
+1
@@ -0,0 +1 @@
|
||||
lint-staged
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
case "$(uname -a)" in
|
||||
*MINGW64*) exit 0 ;;
|
||||
esac
|
||||
|
||||
[ -n "$CI" ] && exit 0
|
||||
|
||||
if [ "$OS" = "Windows_NT" ]; then
|
||||
exec < /dev/tty && npx.cmd git-cz --hook || true
|
||||
else
|
||||
exec < /dev/tty && npx git-cz --hook || true
|
||||
fi
|
||||
Reference in New Issue
Block a user