Proposal for a fix when loading the produc-roadmap.md #19
Closed
mfmanca2000
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I had to debug why the product-roadmap.md was not parsed correctly and it was just because of the \r\n instead of the expected \n
This simple addition would solve my issue
export function parseProductRoadmap(md: string): ProductRoadmap | null {
if (!md || !md.trim()) return null
try {
const sections: Section[] = []
} catch {
return null
}
}
Beta Was this translation helpful? Give feedback.
All reactions