Commit 4720062
Fix load-dotenv.sh crash on empty .env file
Handle empty exports array to avoid 'unbound variable' error when
.env exists but contains no key-value pairs (e.g. CI touch-created).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent df5fd85 commit 4720062
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
0 commit comments