From c0d9401aa6f6cd154aa958bc83f1b747698879e2 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Thu, 21 Sep 2023 17:06:19 +0200 Subject: build(deps): fix husky hooks installation Husky hooks are no longer autoinstalled so we need a prepare script. --- .husky/pre-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.husky/pre-commit') 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 -- cgit v1.2.3