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

Parsing the pound sign as a comment when it's actually part of the value #42

Open
lmshaffe opened this issue Mar 22, 2017 · 0 comments
Open

Comments

@lmshaffe
Copy link

Currently I have an env file with secret keys in it. They contain the pound sign in one of the values and when grunt-env parses it, it stops reading the rest of the value, so it must think it is part of a comment.

Example:
USER=test
SECRET_KEY=g#^%@69($dsf45dsfsdfsdf2ynh!%jtfd3r@q2c_tr_-^!gf7r6a

This sets the process.env.SECRET_KEY as just 'g'

I haven't run into this issue with other tools such as dotenv, so I was wondering if this can be supported.

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