pre-commit: update shebang in pre-commit scripts

This commit is contained in:
Tulir Asokan 2024-12-01 23:39:39 +02:00
parent 462c2e978e
commit 09fd60fdfe
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
cd web > /dev/null cd web > /dev/null
if [[ -f "./node_modules/.bin/eslint" ]]; then if [[ -f "./node_modules/.bin/eslint" ]]; then
ARGS=("$@") ARGS=("$@")

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
cd web > /dev/null cd web > /dev/null
if [[ -f "./node_modules/.bin/tsc" ]]; then if [[ -f "./node_modules/.bin/tsc" ]]; then
tsc --build --noEmit tsc --build --noEmit