Create coverage publication root
Rust CI vsg_bridge_ls passed CI.
MadGobblins/vsg-bridge-ls/pipeline/head This commit looks good Details

This commit is contained in:
Dandaedre 2026-10-02 22:45:56 +02:00
parent fad71741ec
commit 6bacbe26db
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
1 changed files with 6 additions and 1 deletions

View File

@ -17,7 +17,12 @@ case "$publication_root" in
;;
esac
if [ ! -d "$publication_root" ] || [ ! -w "$publication_root" ]; then
if ! mkdir -p -- "$publication_root"; then
echo "could not create coverage publication root: $publication_root" >&2
exit 2
fi
if [ ! -w "$publication_root" ]; then
echo "coverage publication root is not a writable directory: $publication_root" >&2
exit 2
fi