mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-06 06:33:23 +01: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:
1 file changed
+1
-1
@@ -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