Fixed md output containing object as repo
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
48008e5ebe
commit
a074b82c47
|
@ -99,7 +99,7 @@ if (args.markdown) {
|
||||||
all.forEach((p) => {
|
all.forEach((p) => {
|
||||||
fs.appendFileSync(
|
fs.appendFileSync(
|
||||||
(args.output+'/licenses.md'),
|
(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 {
|
} else {
|
||||||
|
|
Reference in New Issue