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

Eval helper doesn't match VTEX's implementation #26

Open
jpesce opened this issue May 3, 2022 · 0 comments
Open

Eval helper doesn't match VTEX's implementation #26

jpesce opened this issue May 3, 2022 · 0 comments

Comments

@jpesce
Copy link

jpesce commented May 3, 2022

The eval helper on this repo doesn't match the eval helper currently in production in VTEX.

Here's the result of {{eval "'${string}'.split(' ')[0]" string=_accountInfo.CompanyName}} in VTEX:
Screen Shot 2022-05-03 at 20 08 08

Here's the result in vtex-emails:
Screen Shot 2022-05-03 at 20 06 12

PR #25 fixes this.

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

No branches or pull requests

1 participant