公告板
版本库
filestore
活动
搜索
登录
main
/
JYBIndependentFront
江佑保前端
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
release: v2.2.1
zhengyiming
2025-07-08
2a6bca272d4e10f08035137a2fc345e205ac9e19
[JYBIndependentFront.git]
/
.husky
/
common.sh
1
2
3
4
5
6
7
8
9
#!/bin/sh
command_exists () {
command -v "$1" >/dev/null 2>&1
}
# Workaround for Windows 10, Git Bash and Pnpm
if command_exists winpty && test -t 1; then
exec < /dev/tty
fi