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:
parent
b998723321
commit
2adf409581
2
.github/workflows/check-nixf-tidy.yml
vendored
2
.github/workflows/check-nixf-tidy.yml
vendored
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user