From 46cfc7172ef0a77f85fac60888d970ccb99cc5e3 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 27 Jan 2022 05:24:01 +0100 Subject: [PATCH] Update 90-config_yaml.sh --- .templates/90-config_yaml.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/.templates/90-config_yaml.sh b/.templates/90-config_yaml.sh index ea8d0fd6e..af7538380 100644 --- a/.templates/90-config_yaml.sh +++ b/.templates/90-config_yaml.sh @@ -47,12 +47,10 @@ fi # Helper function function parse_yaml { local prefix=$2 || local prefix="" - # spellcheck disable=SC2155 local s='[[:space:]]*' w='[a-zA-Z0-9_]*' fs=$(echo @ | tr @ '\034') sed -ne "s|^\($s\):|\1|" \ -e "s| #.*$||g" \ -e "s|#.*$||g" \ - # spellcheck disable=SC1087 -e "s|^\($s\)\($w\)$s:$s[\"']\(.*\)[\"']$s\$|\1$fs\2$fs\3|p" \ -e "s|^\($s\)\($w\)$s:$s\(.*\)$s\$|\1$fs\2$fs\3|p" "$1" | awk -F$fs '{