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