Skip to content

fix: eleventy template builds crash with 'unexpected token at ": string, msg..."'#5116

Merged
JoshuaKGoldberg merged 1 commit intomochajs:masterfrom
LcsK:fix/eleventy/problem-writing-eleventy-templates
Mar 8, 2024
Merged

fix: eleventy template builds crash with 'unexpected token at ": string, msg..."'#5116
JoshuaKGoldberg merged 1 commit intomochajs:masterfrom
LcsK:fix/eleventy/problem-writing-eleventy-templates

Conversation

@LcsK
Copy link
Copy Markdown
Contributor

@LcsK LcsK commented Mar 7, 2024

PR Checklist

Overview

Eleventy wasn't being able to parse the JSDocs for the returned type on the getFullErrorStack function. Defining it as a new type and then referencing it on the function fixes the issue.
Running npm run docs on this branch should work now.

Eleventy wasn't being able to parse the JSDocs for the returned type
on the getFullErrorStack function. Defining it as a new type and then
referencing it on the function fixes the issue
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Mar 7, 2024

CLA Signed


The committers listed above are authorized under a signed CLA.

@JoshuaKGoldberg JoshuaKGoldberg changed the title Fix: Eleventy template builds crash with 'unexpected token at ": string, msg..."' fix: eleventy template builds crash with 'unexpected token at ": string, msg..."' Mar 7, 2024
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 94.359%. remained the same
when pulling 3c87cba on LcsK:fix/eleventy/problem-writing-eleventy-templates
into 3735873 on mochajs:master.

Copy link
Copy Markdown
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 thanks!

@JoshuaKGoldberg JoshuaKGoldberg merged commit a2e600d into mochajs:master Mar 8, 2024
lennonnikolas pushed a commit to lennonnikolas/mocha that referenced this pull request Jan 24, 2026
Eleventy wasn't being able to parse the JSDocs for the returned type
on the getFullErrorStack function. Defining it as a new type and then
referencing it on the function fixes the issue
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.

🐛 Bug: Eleventy template builds crash with 'unexpected token at ": string, msg..."'

3 participants