Skip to content
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

properly encode strings when using cfg format #116

Merged
merged 11 commits into from
Feb 26, 2019
Merged

properly encode strings when using cfg format #116

merged 11 commits into from
Feb 26, 2019

Conversation

omerlh
Copy link
Contributor

@omerlh omerlh commented Feb 26, 2019

close #117

init-container/index.js Outdated Show resolved Hide resolved
Co-Authored-By: omerlh <omerlh@users.noreply.github.com>
init-container/index.js Outdated Show resolved Hide resolved
thanks! I noticed that last time :facepalm

Co-Authored-By: omerlh <omerlh@users.noreply.github.com>
Copy link
Contributor

@shaikatz shaikatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^

shaikatz and others added 5 commits February 26, 2019 14:33
| `-f/--output-format <format>` | false | The format of the output file, default to JSON. Supported types: json, cfg, cfg-strict (escape strings), files | JSON |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not exactly escape string, it's to surround strings with quotation marks

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, doesn't need to write that it defaults to JSON since we have the default value column.

shaikatz
shaikatz previously approved these changes Feb 26, 2019
Copy link
Contributor

@shaikatz shaikatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just check my last comment and see if you think it's relevant.

@omerlh omerlh merged commit 9d69395 into master Feb 26, 2019
@omerlh omerlh deleted the cfg_string branch February 26, 2019 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

String not formatted properly when using cfg format
2 participants