Skip to content

Commit 0401aa6

Browse files
committed
fix: remove duplicate and malformed code in Vale checking
- Fix syntax error in Vale style checking section - Remove duplicated early exit conditions causing bash syntax error - Ensure clean file list handling for Vale style validator
1 parent 807f9f2 commit 0401aa6

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

.github/docs/actions/docs-core/action.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -741,17 +741,6 @@ runs:
741741
MD_FILES_CSV=""
742742
fi
743743
744-
if [ -z "$FILES_TO_CHECK" ] && [ -z "$MD_FILES_CSV" ]; then
745-
echo "No markdown files to check"
746-
echo "status=success" >> $GITHUB_OUTPUT
747-
echo "message=No markdown files to check" >> $GITHUB_OUTPUT
748-
echo "::endgroup::"
749-
exit 0
750-
fi$' | tr '\n' ',' | sed 's/,$//')
751-
else
752-
MD_FILES_CSV=""
753-
fi
754-
755744
if [ -z "$FILES_TO_CHECK" ] && [ -z "$MD_FILES_CSV" ]; then
756745
echo "No markdown files to check"
757746
echo "status=success" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)