Compare commits

...

2 Commits

Author SHA1 Message Date
a074b82c47 Fixed md output containing object as repo
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-13 13:47:05 +01:00
48008e5ebe Version bump 2021-02-13 13:45:33 +01:00
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -1,6 +1,6 @@
{ {
"name": "@odit/license-exporter", "name": "@odit/license-exporter",
"version": "0.0.9", "version": "0.0.10",
"description": "A simple license crawler for crediting open source work", "description": "A simple license crawler for crediting open source work",
"keywords": [ "keywords": [
"license", "license",