From 7e135bee90102b1e428df831121017b7d81d0bee Mon Sep 17 00:00:00 2001 From: Jaekwon Bang Date: Tue, 9 Aug 2022 11:44:28 +0900 Subject: [PATCH] Modify to be available .yml file for yaml parsing --- src/fosslight_util/parsing_yaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fosslight_util/parsing_yaml.py b/src/fosslight_util/parsing_yaml.py index 3b87035..958b010 100644 --- a/src/fosslight_util/parsing_yaml.py +++ b/src/fosslight_util/parsing_yaml.py @@ -12,7 +12,7 @@ from .oss_item import OssItem _logger = logging.getLogger(LOGGER_NAME) -SUPPORT_OSS_INFO_FILES = [r"oss-pkg-info[\s\S]*.yaml", r"sbom-info[\s\S]*.yaml"] +SUPPORT_OSS_INFO_FILES = [r"oss-pkg-info[\s\S]*.ya?ml", r"sbom-info[\s\S]*.ya?ml"] EXAMPLE_OSS_PKG_INFO_LINK = "https://github.com/fosslight/fosslight_prechecker/blob/main/tests/convert/sbom-info.yaml"