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

Array with just one variable #19

Closed
MickL opened this issue May 4, 2020 · 2 comments
Closed

Array with just one variable #19

MickL opened this issue May 4, 2020 · 2 comments

Comments

@MickL
Copy link

MickL commented May 4, 2020

Currently when creating an array with just one item, it creates an array of two:

CORS_ORIGINS=myurl.com,
=> ['myurl.com', '']

It would be nice to be able to create an array even if there is just one item.

@MickL
Copy link
Author

MickL commented May 4, 2020

@niftylettuce that was fast, thank you!

@niftylettuce
Copy link
Collaborator

Released to npm as v0.3.0

Thanks @MickL

Ref: https://github.com/niftylettuce/dotenv-parse-variables/releases/tag/v0.3.0

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

2 participants