Skip to content

Commit ac4a5b3

Browse files
committed
Use bash for git hooks
Signed-off-by: Vladislav Polyakov <polRk@ydb.tech>
1 parent 4a8ebba commit ac4a5b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/hooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/env bash
22
set -euo pipefail
33

44
FILES=$(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g')

scripts/hooks/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/env bash
22
set -euo pipefail
33

44
npx turbo run build --filter=...[origin/main]

0 commit comments

Comments
 (0)