From a074b82c4716abea80843268f187c76c11983027 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Sat, 13 Feb 2021 13:47:05 +0100 Subject: [PATCH] Fixed md output containing object as repo --- bin/exporter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/exporter.js b/bin/exporter.js index 55093af..e7dd048 100644 --- a/bin/exporter.js +++ b/bin/exporter.js @@ -99,7 +99,7 @@ if (args.markdown) { all.forEach((p) => { fs.appendFileSync( (args.output+'/licenses.md'), - `# ${p.name}\n**Author**: ${p.author}\n**Repo**: ${p.repo}\n**License**: ${p.license}\n**Description**: ${p.description}\n## License Text\n${p.licensetext} \n\n` + `# ${p.name}\n**Author**: ${p.author}\n**Repo**: ${p.repo?.url || p.repo}\n**License**: ${p.license}\n**Description**: ${p.description}\n## License Text\n${p.licensetext} \n\n` ); }); } else {