Skip to content

Commit f0c1c0c

Browse files
committed
docs(PE-968): Remove example from example names
1 parent 3da13eb commit f0c1c0c

File tree

21 files changed

+10
-1
lines changed

21 files changed

+10
-1
lines changed

β€Ž.husky/prepare-commit-msgβ€Ž

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
exec < /dev/tty && npx cz --hook || true
4+
# Cross-platform TTY handling for Windows, Linux, and Mac
5+
if [ "$OSTYPE" = "msys" ] || [ "$OSTYPE" = "win32" ] || [ "$OSTYPE" = "cygwin" ]; then
6+
if command -v winpty >/dev/null 2>&1; then
7+
winpty npx cz --hook || true
8+
else
9+
npx cz --hook || true
10+
fi
11+
else
12+
exec < /dev/tty && npx cz --hook || true
13+
fi
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
Β (0)