aboutsummaryrefslogtreecommitdiffstats
path: root/.husky/pre-commit
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-09-21 17:06:19 +0200
committerArmand Philippot <git@armandphilippot.com>2023-09-21 17:06:19 +0200
commitc0d9401aa6f6cd154aa958bc83f1b747698879e2 (patch)
treed7206fb2e8c5578018898115c264b12b65e09c94 /.husky/pre-commit
parentfa5254f3311738aa9a4abf58c5a1d97c599c26c1 (diff)
build(deps): fix husky hooks installation
Husky hooks are no longer autoinstalled so we need a prepare script.
Diffstat (limited to '.husky/pre-commit')
-rwxr-xr-x.husky/pre-commit4
1 files changed, 2 insertions, 2 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit
index d2ae35e..5a182ef 100755
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -1,4 +1,4 @@
-#!/bin/sh
-. "$(dirname "$0")/_/husky.sh"
+#!/usr/bin/env sh
+. "$(dirname -- "$0")/_/husky.sh"
yarn lint-staged