Files
lost-city-Website/.husky/commit-msg
T
2024-07-01 02:13:45 -04:00

18 lines
460 B
Plaintext

# Handle Github Desktop bug on Windows
# https://github.com/typicode/husky/issues/1072
if [ "$OS" = "Windows_NT" ]; then
npx.cmd --no -- @commitlint/cli --edit $1
exit 0
fi
case "$(uname)" in
# Handle Github Desktop bug on Windows systems with WSL installed
# https://github.com/desktop/desktop/issues/12562
*CYGWIN* | *MINGW* | *MSYS*)
npx.cmd --no -- @commitlint/cli --edit $1
;;
*)
npx --no -- @commitlint/cli --edit $1
;;
esac