aboutsummaryrefslogtreecommitdiffstats
path: root/.husky
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
commit97697e3d069972844b2912a93022f4a4904a40d6 (patch)
tree53faff30fbac9d72042f593dfe1c547809f4f121 /.husky
parentAllow any url in the custom-service to allow for sites like 'http://translate... (diff)
downloadferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.gz
ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.zst
ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.zip
Fixed eslintrc as root for this folder; Reformatted all files.
Diffstat (limited to '.husky')
-rw-r--r--.husky/_/husky.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/.husky/_/husky.sh b/.husky/_/husky.sh
deleted file mode 100644
index ca2720e..0000000
--- a/.husky/_/husky.sh
+++ /dev/null
@@ -1,30 +0,0 @@
1#!/bin/sh
2if [ -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
30fi