-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Use single quotes for YAML strings #5935
Copy link
Copy link
Closed
Labels
actionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Metadata
Metadata
Assignees
Labels
actionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
We should make sure to use single quotes for quoted YAML strings. The disadvantage of double quotes is that escape sequences are evaluated in them which can confuse users who are not so familiar with the YAML spec and may lead to unexpected errors/behaviour when blindly using them without properly escaping backslashes.