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

Figgy is eating my + from string #10

Closed
ziaulrehman40 opened this issue Jan 16, 2018 · 1 comment
Closed

Figgy is eating my + from string #10

ziaulrehman40 opened this issue Jan 16, 2018 · 1 comment

Comments

@ziaulrehman40
Copy link

ziaulrehman40 commented Jan 16, 2018

Hey there,

This issue might not be related directly to figgy.

I am trying to add twilio phone number in a file, like so:

number: <%= ENV.fetch('TWILIO_PHONE', "+17878787878") %>

Figgy is eating my + from this string, when i use it like: AppConfig.twilio.number it returns 17878787878 without +. Which is strange.

@ziaulrehman40
Copy link
Author

As i suspected before, this was not related to figgy directly. My phone number was being converted to integer by yml parser. I have put quotes around <%=....%> and it solved the problem.

So the working line is now:

number: "<%= ENV.fetch('TWILIO_PHONE', "+17878787878") %>"

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