公告板
版本库
filestore
活动
搜索
登录
main
/
flexJobAdminBClient
灵活用工B端
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
feat: init
zhengyiming
2025-02-10
958b79ed89b9e742540f714a80261d222c0fc09b
[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