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

forego only extend the first shell variable on the right side of the equal sign in .env file #104

Open
russell-haven opened this issue Jun 22, 2017 · 0 comments

Comments

@russell-haven
Copy link

russell-haven commented Jun 22, 2017

When having more than one shell variable on the right side of the equal sign in .env file, forego only extend the first one.

Steps to reproduce

  1. Have a .env with the following line: NODE=${HOSTNAME}-${PORT} (the inner vars are defined)
  2. Run your application using forego.

Results

The variable is only half extended: the.hostname-${PORT}
The variable should be fully extended: the.hostname-4242.

Notes

The project vendors an outdated version of subosito/gotenv. With an up to date version of the later, the behavior is correct.

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