diff --git a/internal/instructions/yamlfile.go b/internal/instructions/yamlfile.go index d21d6ad..9d76832 100644 --- a/internal/instructions/yamlfile.go +++ b/internal/instructions/yamlfile.go @@ -185,6 +185,6 @@ func removeCommentsFromNode(node *yaml.Node) { child.LineComment = "" child.FootComment = "" - removeCommentsFromNode(node) + removeCommentsFromNode(child) } }