Skip to content

Commit e29f9b6

Browse files
committed
fix: Do not depend on pkg.json name
1 parent 2705844 commit e29f9b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate-readme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const config = {
6868
const runtime = getRuntime(dirname);
6969
const description = (data.description) ? `<br/> ${data.description}` : '';
7070
// add table rows
71-
md += `| [${formatPluginName(data.name)}](${exampleUrl}) ${description} | ${runtime} |\n`;
71+
md += `| [${formatPluginName(dirname)}](${exampleUrl}) ${description} | ${runtime} |\n`;
7272
} catch (error) {
7373
error.message = `Error processign file: "${example}": ${error.message}`;
7474
throw error;

0 commit comments

Comments
 (0)