公告板
版本库
filestore
活动
搜索
登录
main
/
flexJobAdminBClient
灵活用工甲方web端
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
fix: bug
zhengyiming
2025-11-28
3ae270ee2e6518522dce3153f483b8c5b3d3428d
[flexJobAdminBClient.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