diff options
author | 2022-12-15 02:25:19 -0600 | |
---|---|---|
committer | 2022-12-15 00:25:19 -0800 | |
commit | 6a1fc208354d173a66b61060ec5bb79699038006 (patch) | |
tree | ab5af3660f1ce2d8b2ac8eee154ba21221a0acd4 /src/bun.js/builtins/js/ProcessObjectInternals.js | |
parent | 95c747f598ff0a57335f2cb35c008132b7a3ac2b (diff) | |
download | bun-6a1fc208354d173a66b61060ec5bb79699038006.tar.gz bun-6a1fc208354d173a66b61060ec5bb79699038006.tar.zst bun-6a1fc208354d173a66b61060ec5bb79699038006.zip |
fix(stream): make Readable.read work w/o _construct implemented (#1613)
* fix(stream): put Readable._readableState.constructed default in spec (true, not false)
* cleanup(readable): remove unnecessary _construct methods
* test(stream): add test for Readable w/o _construct method
Diffstat (limited to 'src/bun.js/builtins/js/ProcessObjectInternals.js')
-rw-r--r-- | src/bun.js/builtins/js/ProcessObjectInternals.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/bun.js/builtins/js/ProcessObjectInternals.js b/src/bun.js/builtins/js/ProcessObjectInternals.js index 87bb07b95..2353f6b7e 100644 --- a/src/bun.js/builtins/js/ProcessObjectInternals.js +++ b/src/bun.js/builtins/js/ProcessObjectInternals.js @@ -462,11 +462,6 @@ function getStdinStream(fd, rawRequire, Bun) { return fd_; } - // TODO: investigate https://github.com/oven-sh/bun/issues/1608 - _construct(callback) { - callback(); - } - constructor() { super({ readable: true, writable: true }); } |