EdikoyoWiki/node_modules/.bin/husky

17 lines
373 B
Text
Raw Normal View History

2024-09-06 22:03:25 +00:00
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../husky/bin.js" "$@"
else
exec node "$basedir/../husky/bin.js" "$@"
fi