mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-12-17 07:40:34 +08:00
feat: add pure-admin-thin
This commit is contained in:
9
.husky/common.sh
Normal file
9
.husky/common.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
command_exists () {
|
||||
command -v "$1" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
# Workaround for Windows 10, Git Bash and Yarn
|
||||
if command_exists winpty && test -t 1; then
|
||||
exec < /dev/tty
|
||||
fi
|
||||
Reference in New Issue
Block a user