Skip to content

Commit 7559542

Browse files
committed
chore: fix formatting and linting
1 parent 0dcb304 commit 7559542

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/eol/utils.mts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ export function deriveComponentStatus(
2929
function safeParsePurl(purl: string): string | null {
3030
try {
3131
return PackageURL.fromString(purl).toString();
32-
} catch (error) {
32+
} catch (_) {
3333
return null;
3434
}
35-
};
35+
}
3636

3737
export function extractPurlsFromCdxBom(sbom: CdxBom): string[] {
3838
const purlSet = new Set<string>();
@@ -59,7 +59,7 @@ export function extractPurlsFromCdxBom(sbom: CdxBom): string[] {
5959
if (purl) {
6060
purlSet.add(purl);
6161
}
62-
}
62+
}
6363
}
6464

6565
return Array.from(purlSet);

0 commit comments

Comments
 (0)