mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-01 03:39:39 +02:00
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:
@@ -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}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user