{"version":"2.0.27","anchor":"environment-variable-expansion-function","canonical_anchor":"environment-variable-expansion-function","heading":"Environment Variable Expansion Function","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.27\/e\/environment-variable-expansion-function","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.27","markdown":"### Environment Variable Expansion Function\n\n**What:** Refactored environment variable expansion into a standalone, reusable function.\n\n**Details:**\n\n- Supports `${VAR}` and `${VAR:-default}` syntax for environment variables\n- Tracks missing variables for better error reporting\n- Now used in multiple places for consistent variable handling\n- Improved code maintainability through extraction from inline implementation\n- **Evidence**: `iuA() at line 262768` (extracted from inline code in `Ps8()` at line 283329 in v2.0.26)"}