Skip docs workflow

This commit is contained in:
2025-12-01 14:07:38 +05:30
parent 11bed62f52
commit c82b499b01
3 changed files with 24 additions and 24 deletions
+2 -2
View File
@@ -114,11 +114,11 @@ func unquoteHelmTemplates(yamlBytes []byte) []byte {
// that enclose the entire value (after the colon for YAML)
if idx := strings.Index(line, ": "); idx != -1 {
prefix := line[:idx+2] // Keep "key: "
value := line[idx+2:] // Get the value part
value := line[idx+2:] // Get the value part
// Remove surrounding quotes from value if present
if (strings.HasPrefix(value, `"`) && strings.HasSuffix(value, `"`)) ||
(strings.HasPrefix(value, `'`) && strings.HasSuffix(value, `'`)) {
(strings.HasPrefix(value, `'`) && strings.HasSuffix(value, `'`)) {
value = value[1 : len(value)-1]
}
lines[i] = prefix + value