on master help sign in
Delete husky.sh

deleting .husky file

commit8a7556d50eda4464871abd43c2fce20e63bf5ca9 authorGordon <gordon.cieplak@urbit.org> dateTue 28 Jun 2022, 10:00 (4 years ago) parentf6b20ab
1 file changed−30
.husky/_/husky.sh−30
.husky/_/husky.shdeleted−30
@@ -1,30 +0,0 @@
1−#!/bin/sh
2−if [ -z "$husky_skip_init" ]; then
3− debug () {
4− [ "$HUSKY_DEBUG" = "1" ] && echo "husky (debug) - $1"
5− }
6−
7− readonly hook_name="$(basename "$0")"
8− debug "starting $hook_name..."
9−
10− if [ "$HUSKY" = "0" ]; then
11− debug "HUSKY env variable is set to 0, skipping hook"
12− exit 0
13− fi
14−
15− if [ -f ~/.huskyrc ]; then
16− debug "sourcing ~/.huskyrc"
17− . ~/.huskyrc
18− fi
19−
20− export readonly husky_skip_init=1
21− sh -e "$0" "$@"
22− exitCode="$?"
23−
24− if [ $exitCode != 0 ]; then
25− echo "husky - $hook_name hook exited with code $exitCode (error)"
26− exit $exitCode
27− fi
28−
29− exit 0
30−fi