style: Use shfmt instead of bashate (#7326)

This commit is contained in:
Ayaz Salikhov
2026-05-26 19:28:23 +01:00
committed by GitHub
parent 49567e7283
commit 23d0812827
15 changed files with 127 additions and 97 deletions

View File

@@ -6,7 +6,7 @@ set -e
# On MacOS, ensure that GNU sed is installed and available as `gsed`.
SED_COMMAND=sed
if [[ "${OSTYPE}" == 'darwin'* ]]; then
if ! command -v gsed &> /dev/null; then
if ! command -v gsed &>/dev/null; then
echo "Error: gsed is not installed. Please install it using 'brew install gnu-sed'."
exit 1
fi