Skip to content

Commit 7e135be

Browse files
committed
Modify to be available .yml file for yaml parsing
1 parent 592d767 commit 7e135be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fosslight_util/parsing_yaml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .oss_item import OssItem
1313

1414
_logger = logging.getLogger(LOGGER_NAME)
15-
SUPPORT_OSS_INFO_FILES = [r"oss-pkg-info[\s\S]*.yaml", r"sbom-info[\s\S]*.yaml"]
15+
SUPPORT_OSS_INFO_FILES = [r"oss-pkg-info[\s\S]*.ya?ml", r"sbom-info[\s\S]*.ya?ml"]
1616
EXAMPLE_OSS_PKG_INFO_LINK = "https://github.com/fosslight/fosslight_prechecker/blob/main/tests/convert/sbom-info.yaml"
1717

1818

0 commit comments

Comments
 (0)