Keep the same single quoted style for !include tags as non-CLoader

This commit is contained in:
Adam Goldsmith 2023-03-12 03:44:32 -04:00
parent a8f7e9673f
commit 3076b7612b

View File

@ -23,7 +23,7 @@ class IncludeTag:
@classmethod @classmethod
def to_yaml(cls, dumper, node): def to_yaml(cls, dumper, node):
return dumper.represent_scalar(cls.yaml_tag, node.target) return dumper.represent_scalar(cls.yaml_tag, node.target, style="'")
@classmethod @classmethod
def from_yaml(cls, loader, node): def from_yaml(cls, loader, node):