ci/check-nixf-tidy: replace sed with variable substitution

Update .github/workflows/check-nixf-tidy.yml

Co-authored-by: Zhong Jianxin <azuwis@users.noreply.github.com>
This commit is contained in:
Jörg Thalheim 2024-11-22 08:31:48 +01:00
parent b998723321
commit 2adf409581

View File

@ -107,7 +107,7 @@ jobs:
echo "$errors" echo "$errors"
else else
# just print in plain text # just print in plain text
echo "$errors" | sed 's/^:://' echo "${errors/::/}"
echo # add one empty line echo # add one empty line
fi fi
failedFiles+=("$dest") failedFiles+=("$dest")