forked from MapComplete/MapComplete
Small rewriting of some licenses
This commit is contained in:
parent
e59900d906
commit
febc455216
10 changed files with 15 additions and 25 deletions
|
@ -22,6 +22,12 @@ function generateLicenseInfos(paths: string[]): SmallLicense[] {
|
|||
licenses.push(...l)
|
||||
} else {
|
||||
const smallLicens: SmallLicense = parsed;
|
||||
/*if(parsed.license === "CC-BY"){
|
||||
console.log("Rewriting ", path)
|
||||
parsed.license === "CC-BY 4.0"
|
||||
writeFileSync(path, JSON.stringify(smallLicens, null, " "))
|
||||
}*/
|
||||
|
||||
smallLicens.path = path.substring(0, 1 + path.lastIndexOf("/")) + smallLicens.path
|
||||
licenses.push(smallLicens)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue