Skip to content

Commit 7950982

Browse files
authored
refactor: remove unnessessary lowercase (#1327)
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 72700f0 commit 7950982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extractor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export class Extractor {
143143
for (const pci of pcis) {
144144
if (
145145
!pci.isFile() ||
146-
!this.#LICENSE_FILENAME_PATTERN.test(pci.name.toLowerCase())
146+
!this.#LICENSE_FILENAME_PATTERN.test(pci.name)
147147
) {
148148
continue
149149
}

0 commit comments

Comments
 (0)