We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a76d570 commit c825756Copy full SHA for c825756
scripts/readApi.mjs
@@ -96,14 +96,14 @@ function extractTableFromMd(mdContent, filePath) {
96
tableData.push({
97
title:
98
'Pro' +
99
- capitalizeFirstLetter(filePath.split('/').at(1)) +
+ capitalizeFirstLetter(filePath.split(path.sep).at(1)) +
100
' - ' +
101
tableTitle?.replace(/\n/g, '').trim(),
102
table: tableRows,
103
});
104
105
return {
106
- packageName: 'Pro' + capitalizeFirstLetter(filePath.split('/').at(1)),
+ packageName: 'Pro' + capitalizeFirstLetter(filePath.split(path.sep).at(1)),
107
tableData,
108
};
109
}
0 commit comments