-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
String "yes" is interpreted wrong #116
Comments
It is marked as boolean because yaml spec says "yes" should be marked as boolean http://yaml.org/type/bool.html |
No, it doesn’t. In the definition where > require('js-yaml').load('"yes"')
'yes' >>> import yaml
>>> yaml.load('"yes"')
'yes' The example in the original issue is part of a valid Kubernetes configuration file. I need to define an environment variable |
It will be fixed in tomorrows release. |
same as "no". Not sure if that was fixed as well |
Looks like it was. thanks :) |
With the latest released version of this extension I'm still seeing this error (for the mapping |
The fix hasn't been released yet. I won't be able to do a release until December 20th but that release will include the fix. |
This should be fixed now! |
…_tab_size Use tabWidth setting from editor when formatting
Given a Kubernetes MySQL deployment file:
The value
yes
is a string. However, I am getting the following error in VSCode:Probably the string
"yes"
is incorrectly marked as a boolean.The text was updated successfully, but these errors were encountered: