File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ export default defineCachedEventHandler(
2525 throw createError ( { statusCode : 404 , message : 'No latest version found' } )
2626 }
2727
28- // Extract exports from the already-fetched packument to avoid redundant fetch
2928 const versionData = packument . versions ?. [ version ]
3029 const exports = versionData ?. exports as Record < string , unknown > | undefined
3130
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export async function getDocNodes(
6161 return { version : 1 , nodes : allNodes }
6262 } catch {
6363 // Silent failure - all docgen errors are graceful degradation
64- // This feature should never wake up a maintainer
64+ // In future should maybe consider debug mode / struct logging of some kind
6565 return { version : 1 , nodes : [ ] }
6666 }
6767}
You can’t perform that action at this time.
0 commit comments