Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 16bce1e

Browse files
authoredApr 24, 2025··
build: skip empty directories
Signed-off-by: Philipp Burckhardt <pburckhardt@outlook.com>
1 parent cd77f2b commit 16bce1e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎.github/workflows/cleanup_coverage.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ jobs:
124124
125125
# Delete directories:
126126
while IFS= read -r dir; do
127-
rm -r -- "$dir"
127+
if [ -n "$dir" ]; then
128+
rm -r -- "$dir"
129+
fi
128130
done < dirs_to_remove.txt
129131
130132
# Perform clean-up:

0 commit comments

Comments
 (0)
Please sign in to comment.