1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

make pre-commit more portable (#880)

This commit is contained in:
Marcus Ramberg
2025-12-02 15:25:08 +01:00
committed by GitHub
parent f96a2e2325
commit 67ff7726e0

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail
HOOK_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
@@ -37,7 +37,7 @@ if [[ -n "$STAGED_CORE_FILES" ]]; then
# Tests
echo " Running tests..."
go test ./... > /dev/null
go test ./... >/dev/null
# Build checks
echo " Building..."