Skip to content

Commit

Permalink
🐛 Fix node style not changing when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed May 11, 2022
1 parent 87ec052 commit c397e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/template/line_comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func LineComment(conf config.Config, node *yaml.Node) error {
"from": node.Value,
"to": buf.String(),
}).Debug("updating value")
node.Value = buf.String()
node.SetString(buf.String())
}
}
return nil
Expand Down

0 comments on commit c397e64

Please sign in to comment.