update CI to prettify oss-attribution

- also fix TS warnings in invidiousCI.ts
This commit is contained in:
Michael C
2023-03-07 21:55:48 -05:00
parent afe8d2a20c
commit b310152f7f
4 changed files with 111 additions and 5 deletions

6
ci/prettify.ts Normal file
View File

@@ -0,0 +1,6 @@
import { writeFile } from 'fs';
import * as license from "../oss-attribution/licenseInfos.json";
const result = JSON.stringify(license, null, 2);
writeFile("../oss-attribution/licenseInfos.json", result, err => { if (err) return console.log(err) } );