Refactoring: move functions out of Utils

This commit is contained in:
Pieter Vander Vennet 2025-08-26 03:18:25 +02:00
parent 442f5a2923
commit 5ea2414204
16 changed files with 126 additions and 145 deletions

View file

@ -327,7 +327,7 @@ export class GenerateLicenseInfo extends Script {
}
licenses.sort((a, b) => (a.path < b.path ? -1 : 1))
licenses = Utils.DedupOnId(licenses, (l) => l.path)
licenses = Lists.dedupOnId(licenses, (l) => l.path)
const path = dir + "/license_info.json"
if (licenses.length === 0) {
console.log("Removing", path, "as it is empty")