Skip to content

Commit 2205fee

Browse files
committed
wip
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent c17b4bc commit 2205fee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/licenseUtility.node.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)) {

0 commit comments

Comments
 (0)