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
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class IncludeTag:
@classmethod
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
def from_yaml(cls, loader, node):