From b47dddd061e92054c3b2096fc8aa9688bfef68d6 Mon Sep 17 00:00:00 2001 From: Yann Gautier Date: Tue, 11 Mar 2025 18:56:22 +0100 Subject: [PATCH] fix(deps): remove deprecated husky commands Husky 9.1 now warns when doing some rebase of patches: husky - DEPRECATED Please remove the following two lines from .husky/prepare-commit-msg: #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" They WILL FAIL in v10.0.0 Remove the deprecated lines. Signed-off-by: Yann Gautier Change-Id: I8b7fa82aa7b5e178554a1b4a650b2b1b8044092c --- .husky/prepare-commit-msg | 3 --- 1 file changed, 3 deletions(-) diff --git a/.husky/prepare-commit-msg b/.husky/prepare-commit-msg index 617400ae5..e38252e15 100755 --- a/.husky/prepare-commit-msg +++ b/.husky/prepare-commit-msg @@ -1,8 +1,5 @@ #!/bin/sh -# shellcheck source=./_/husky.sh -. "$(dirname "$0")/_/husky.sh" - if ! git config --get tf-a.disableCommitizen > /dev/null; then "$(dirname "$0")/prepare-commit-msg.cz" "$@" fi