deno_std
deno_std copied to clipboard
refactor(dotenv): avoid recursive `expand()`
This PR refactors the expand() fn so it uses a loop instead of calling it recursively. This makes it much more readable.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 94.10%. Comparing base (2f99801) to head (1d17d2a).
:warning: Report is 5 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #6892 +/- ##
==========================================
- Coverage 94.11% 94.10% -0.01%
==========================================
Files 582 582
Lines 42752 42747 -5
Branches 6808 6806 -2
==========================================
- Hits 40236 40229 -7
- Misses 2466 2467 +1
- Partials 50 51 +1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
BTW it looks like deno run --env-file does not support default value substitution in variable expansion