| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
- Merge process.env with debugLaunchEnvVars before parsing .env file
- This ensures system environment variables like PATH are available for substitution
- Add comprehensive unit tests for environment variable substitution
- Fixes issue where ${PATH} and other system vars weren't expanded in .env files
|
@microsoft-github-policy-service agree company="CuspAI" |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #159
Summary
Fixed environment variable substitution in .env files by ensuring system environment variables are available during parsing.
Problem
When using environment variable substitution in .env files (e.g., PATH="${PATH};custom-path"), system environment variables were not available for substitution. Only the launch configuration's env variables were passed to the parser.
Solution
Modified helper.ts to merge process.env with debugLaunchEnvVars before passing to the env file parser. This ensures all system environment variables are available for substitution while still allowing launch config variables to override system ones.
Test plan