Skip to content

Commit

Permalink
fix: some more error
Browse files Browse the repository at this point in the history
  • Loading branch information
mastersans committed Jun 3, 2024
1 parent 0d389bd commit 2983954
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cve_bin_tool/vex_manager/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from datetime import datetime
from logging import Logger
from pathlib import Path
from typing import Optional

from lib4sbom.data.vulnerability import Vulnerability
from lib4vex.generator import VEXGenerator
Expand Down Expand Up @@ -40,8 +41,8 @@ def __init__(
filename: str,
vextype: str,
all_cve_data: dict[ProductInfo, CVEData],
sbom: str | None = None,
logger: Logger | None = None,
sbom: Optional[str] = None,
logger: Optional[Logger] = None,
validate: bool = True,
):
self.product = product
Expand Down

0 comments on commit 2983954

Please sign in to comment.