Fixed md output containing object as repo
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Nicolai Ort 2021-02-13 13:47:05 +01:00
parent 48008e5ebe
commit a074b82c47
1 changed files with 1 additions and 1 deletions

View File

@ -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 {