Chore: reformat all files with prettier

This commit is contained in:
Pieter Vander Vennet 2023-06-14 20:39:36 +02:00
parent 5757ae5dea
commit d008dcb54d
214 changed files with 8926 additions and 8196 deletions

View file

@ -227,10 +227,10 @@ export class GenerateLicenseInfo extends Script {
licenses.sort((a, b) => (a.path < b.path ? -1 : 1))
const path = dir + "/license_info.json"
if(licenses.length === 0){
console.log("Removing",path,"as it is empty")
if (licenses.length === 0) {
console.log("Removing", path, "as it is empty")
// No need to _actually_ unlik, this is done above
}else{
} else {
writeFileSync(path, JSON.stringify(licenses, null, 2))
}
})