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

Deprecate getConditionMap, add toString, remove/add #7

Merged
merged 1 commit into from
Oct 11, 2017

Conversation

mericsson
Copy link
Contributor

No description provided.

@mericsson mericsson merged commit 6012e65 into master Oct 11, 2017
@mericsson mericsson deleted the marcus/api-changes branch October 11, 2017 01:17
const values = conditionGroups[conditionGroupKey];
const safeValues = values
.filter((v) => v)
.map((v) => (v.indexOf(' ') > 0 || v.indexOf(',') > 0 ? `"${v}"` : v));
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't this also escape double quotes? ie replace " with \"

@mericsson
Copy link
Contributor Author

mericsson commented Oct 11, 2017 via email

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.

2 participants