Merge pull request #1381 from Pmodules/1380-build-system-remove-comments-while-reading-config-file

build-system: remove comments while reading config files
This commit is contained in:
2026-03-11 16:42:23 +01:00
committed by GitHub
+1 -1
View File
@@ -146,7 +146,7 @@ yml::read_file(){
local -- yml_fname="$2"
local -- yml_node="$3"
yml_content=$( ${yq} -Ne e "${yml_node}|explode(.)" "${yml_fname}" 2>/dev/null ) || \
yml_content=$( ${yq} -Ne e "... comments=\"\"|${yml_node}|explode(.)" "${yml_fname}" 2>/dev/null ) || \
yml::die_read_file "${yml_fname}"
}