File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export interface PathUtils<P extends string> {
3838 join : ( ...paths : P [ ] ) => P
3939}
4040
41- export interface FileAttachmentResult < P extends string > {
41+ export interface FileAttachment < P extends string > {
4242 filePath : P
4343 file : P
4444 text : Attachment
@@ -67,7 +67,7 @@ export class LicenseEvidenceGatherer<P extends string = string> {
6767 /* eslint-enable @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-require-imports */
6868 }
6969
70- * getFileAttachments ( prefixPath : P , onError : ErrorReporter = noop ) : Generator < FileAttachmentResult < P > > {
70+ * getFileAttachments ( prefixPath : P , onError : ErrorReporter = noop ) : Generator < FileAttachment < P > > {
7171 const files = this . #fs. readdirSync ( prefixPath ) // may throw
7272 for ( const file of files ) {
7373 if ( ! LICENSE_FILENAME_PATTERN . test ( file ) ) {
You can’t perform that action at this time.
0 commit comments