aboutsummaryrefslogtreecommitdiff
path: root/test/cli/run/empty-file.js
diff options
context:
space:
mode:
authorGravatar Liz <accs@liz3.net> 2023-09-19 03:14:29 +0200
committerGravatar GitHub <noreply@github.com> 2023-09-18 18:14:29 -0700
commit064721668740397763a2ab6b6293d5d34a7b14a8 (patch)
tree27a3f3277c70328382d772536864762ccb5e0f42 /test/cli/run/empty-file.js
parent6df837cff18882ae323d49e1a9def7fc6ab5a5b0 (diff)
downloadbun-064721668740397763a2ab6b6293d5d34a7b14a8.tar.gz
bun-064721668740397763a2ab6b6293d5d34a7b14a8.tar.zst
bun-064721668740397763a2ab6b6293d5d34a7b14a8.zip
fix: provide empty string to 0 length process environment variables (#5679)
* fix: provide empty string to len 0 process env vars For process loaded env vars, its a bug to give them the literal value '""' if the provided length is 0. * fix: add test and remove unneeded branch Removes the redundant branch for empty env vars and adds a test for the process specific case. * fix: remove empty_string_value Removes the constant in favor of using the empty values or passing the literal "". * style: format env.test.ts
Diffstat (limited to 'test/cli/run/empty-file.js')
0 files changed, 0 insertions, 0 deletions