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