aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/os.test.js
diff options
context:
space:
mode:
authorGravatar Justin Whear <justin.whear@gmail.com> 2023-02-16 14:01:07 -0800
committerGravatar GitHub <noreply@github.com> 2023-02-16 14:01:07 -0800
commit7762f3fad739e7c50f0ebe29b22b55a8daf7f559 (patch)
treef2c768685b36365bfec97d39112cc11dac19d68d /test/bun.js/os.test.js
parente7cd45d0fa3f381238ea2ebfbba2d9e738376fcc (diff)
downloadbun-7762f3fad739e7c50f0ebe29b22b55a8daf7f559.tar.gz
bun-7762f3fad739e7c50f0ebe29b22b55a8daf7f559.tar.zst
bun-7762f3fad739e7c50f0ebe29b22b55a8daf7f559.zip
Fix #1516 (#2089)
`FileSystemFlags.fromJS` was hardcoded to return O_RDONLY when the flag value was null or undefined and this caused breakage when used with write functions. Updated the function to take a `default` argument so that the caller can specify a sane default for their use.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions