Skip to content

Commit d2ab1ef

Browse files
chore: label residual shortcode guard output
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent 3f608ab commit d2ab1ef

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/sanitize-docs-emoji.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ find "$DOCS_DIR" -type f -name '*.mdx' -exec perl -0pi -e '
1818
' {} +
1919

2020
if matches="$(find "$DOCS_DIR" -type f -name '*.mdx' -exec grep -HnE ':[a-z][a-z0-9_+-]*:' {} + || true)" && [[ -n "$matches" ]]; then
21+
echo "unmapped emoji shortcodes remain under $DOCS_DIR, add them to this script:" >&2
2122
printf '%s\n' "$matches" >&2
2223
exit 1
2324
fi

0 commit comments

Comments
 (0)