Compare commits
2 Commits
fb15002582
...
a074b82c47
Author | SHA1 | Date | |
---|---|---|---|
a074b82c47 | |||
48008e5ebe |
@ -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 {
|
||||||
|
@ -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",
|
||||||
|
Reference in New Issue
Block a user