Skip to content

Commit 5392fa1

Browse files
authored
Silent output for cleaner.yml action (#56)
1 parent e437bb6 commit 5392fa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cleaner.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ jobs:
2828
MDS=$(ls apps/* | sed 's:.*/::; s/.md$//g')
2929
PNGS=$(ls icons/* | sed 's:.*/::; s/.png$//g')
3030
for m in $MDS; do
31-
if ! echo "$LIST" | grep -q "◆ $m :"; then
31+
if ! echo "$LIST" 2>/dev/null | grep -q "◆ $m :"; then
3232
rm -f "apps/$m.md"
3333
fi
3434
done
3535
for p in $PNGS; do
36-
if ! echo "$LIST" | grep -q "◆ $p :"; then
36+
if ! echo "$LIST" 2>/dev/null | grep -q "◆ $p :"; then
3737
rm -f "icons/$p.png"
3838
fi
3939
done

0 commit comments

Comments
 (0)