We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 028dc6c commit 51da56aCopy full SHA for 51da56a
src/builders/license.ts
@@ -43,7 +43,7 @@ export interface FetchResult {
43
44
const LICENSE_FILENAME_PATTERN = /^(?:UN)?LICEN[CS]E|.\.LICEN[CS]E$|^NOTICE$/i
45
46
-type ErrorReporter = (e:Error) => void
+type ErrorReporter = (e:Error) => any
47
48
/* eslint-disable-next-line @typescript-eslint/no-empty-function -- ack */
49
function noop ():void {}
@@ -85,8 +85,8 @@ export class LicenseEvidenceFetcher {
85
}
86
try {
87
yield {
88
- file,
89
filePath,
+ file,
90
text: new Attachment(
91
this.#fs.readFileSync(filePath).toString('base64'),
92
{
0 commit comments