Move to new constants.

This commit is contained in:
jregan
2020-08-07 12:17:03 -07:00
parent 686e97f2fe
commit 873c8c1d17
8 changed files with 18 additions and 20 deletions

View File

@@ -21,7 +21,7 @@ func SetEntry(key, value, tag string) SetFn {
Value: value,
Tag: tag,
}
if tag == yaml.StringTag && yaml.IsYaml1_1NonString(n) {
if tag == yaml.NodeTagString && yaml.IsYaml1_1NonString(n) {
n.Style = yaml.DoubleQuotedStyle
}
return func(node *yaml.RNode) error {