Skip to content

Commit

Permalink
Fix collect attributions lint error.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGilg authored Jul 11, 2023
1 parent 0c3edc9 commit 7dbe0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/tools/CollectAttributions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ async function getLicenseText(lib: string, license: string | null, author: strin
return fs.readFileSync(`${libRoot}/${possibleLicenseFiles[0]}`).toString();
} else if (license) {
// If no license file is found, we try to get a generic license file from GitHub using the name of the license.
let licenseText = null;
let licenseText: string | null = null;
if (LICENSE_CACHE.has(license)) {
// License texts are cached to minimize requests to GitHub.
licenseText = LICENSE_CACHE.get(license);
Expand Down

0 comments on commit 7dbe0b9

Please sign in to comment.