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:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user