Skip to content

Commit d9b5677

Browse files
committed
optimize
Signed-off-by: Yanxuan Liu <[email protected]>
1 parent 98d072a commit d9b5677

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

markdown-link-check/action.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,15 @@ runs:
6363
has_errors=1
6464
fi
6565
fi
66-
done <<< "$MLC_OUTPUT"
66+
done <<< "$MLC_OUTPUT" # This is the output of the markdown link check action
6767
6868
# Output final conclusion
6969
if [ $has_errors -eq 0 ]; then
70-
echo " All links are valid"
70+
echo "=========== All links are valid ==========="
7171
exit 0
7272
fi
7373
74-
echo "❌ Found broken links"
75-
echo
76-
echo "===== DETAILS ====="
77-
74+
echo "=========== Found broken links ==========="
7875
# Output error details
7976
for i in "${!files[@]}"; do
8077
filename="${files[$i]}"

0 commit comments

Comments
 (0)