From 09fd60fdfe528d2ed0193be2b2687f44271a9746 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 1 Dec 2024 23:39:39 +0200 Subject: [PATCH] pre-commit: update shebang in pre-commit scripts --- .pre-commit-eslint.sh | 2 +- .pre-commit-tsc.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-eslint.sh b/.pre-commit-eslint.sh index b2d6cd4..3dc1f7c 100755 --- a/.pre-commit-eslint.sh +++ b/.pre-commit-eslint.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash cd web > /dev/null if [[ -f "./node_modules/.bin/eslint" ]]; then ARGS=("$@") diff --git a/.pre-commit-tsc.sh b/.pre-commit-tsc.sh index b39434a..c8ea37e 100755 --- a/.pre-commit-tsc.sh +++ b/.pre-commit-tsc.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash cd web > /dev/null if [[ -f "./node_modules/.bin/tsc" ]]; then tsc --build --noEmit