Skip to content

Commit

Permalink
refactor: remove unnessessary lowercase (#1327)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <[email protected]>
  • Loading branch information
jkowalleck authored Nov 8, 2024
1 parent 72700f0 commit 7950982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extractor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export class Extractor {
for (const pci of pcis) {
if (
!pci.isFile() ||
!this.#LICENSE_FILENAME_PATTERN.test(pci.name.toLowerCase())
!this.#LICENSE_FILENAME_PATTERN.test(pci.name)
) {
continue
}
Expand Down

0 comments on commit 7950982

Please sign in to comment.