From eb0b860c3ada4ed418dc4d399e7a6cffc7443da3 Mon Sep 17 00:00:00 2001 From: lsq27 Date: Sun, 30 Jul 2023 16:07:14 +0800 Subject: [PATCH] fix: commit error on Windows (#306) --- .husky/commit-msg | 2 +- .husky/pre-commit | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index 3992152b..df1de7c1 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,3 +1,4 @@ +#!/bin/sh # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file @@ -17,7 +18,6 @@ # under the License. # -#!/bin/sh # shellcheck source=./_/husky.sh . "$(dirname "$0")/_/husky.sh" diff --git a/.husky/pre-commit b/.husky/pre-commit index 7806eb63..3e819bd4 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,3 +1,4 @@ +#!/bin/sh # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file @@ -17,7 +18,6 @@ # under the License. # -#!/bin/sh . "$(dirname "$0")/_/husky.sh" . "$(dirname "$0")/common.sh"