Skip to content

fix: clarify date error when metadata header is unclosed - #4253

Open
SSoggyTacoMan wants to merge 1 commit into
hackclub:mainfrom
SSoggyTacoMan:fix/unclosed-metadata-header-reminder
Open

SSoggyTacoMan wants to merge 1 commit into
hackclub:mainfrom
SSoggyTacoMan:fix/unclosed-metadata-header-reminder

Conversation

@SSoggyTacoMan

Copy link
Copy Markdown
Contributor

When authors put code or instructions right below @addedOn without closing the comment block with */, the parser captures that extra text as part of the date. This triggers a confusing date format failure even when the date itself was valid.

This change checks if @addedOn contains newlines or trailing text, and provides an explicit error message telling the author to close the header with */.

@vercel

vercel Bot commented Sep 21, 2026

Copy link
Copy Markdown

@SSoggyTacoMan is attempting to deploy a commit to the Hack Club Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant