We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dotenv::GetPathFromArgs
--env-file*
v22.5.1 (and main)
main
Linux ... 6.8.11-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.8.11-1kali2 (2024-05-30) x86_64 GNU/Linux
dotenv
node/src/node_dotenv.cc
Line 18 in 5411975
The above linked code snippets incorrectly matches any argument beginning with --env-file.
--env-file
Always
$ node --env-file-ABCD env.file node: bad option: --env-file-ABCD
$ node --env-file-ABCD env.file node: env.file: not found
I have a patch for this, see #54237 (comment). I figured I'd open this issue for tracking the bug.
The text was updated successfully, but these errors were encountered:
for
Dotenv::GetPathFromArgs
RedYetiDev
Successfully merging a pull request may close this issue.
Version
v22.5.1 (and
main
)Platform
Subsystem
dotenv
What steps will reproduce the bug?
node/src/node_dotenv.cc
Line 18 in 5411975
The above linked code snippets incorrectly matches any argument beginning with
--env-file
.How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
What do you see instead?
Additional information
I have a patch for this, see #54237 (comment). I figured I'd open this issue for tracking the bug.
The text was updated successfully, but these errors were encountered: