diff options
author | 2023-10-17 01:31:14 +0300 | |
---|---|---|
committer | 2023-10-16 15:31:14 -0700 | |
commit | f1658e2e58acb1fcdb3181e8238c50b961b822f6 (patch) | |
tree | b715ab7d02e5f8731d9d83db7581db7b10b49666 /src | |
parent | 90d7f335223d95cb0e603d95fd995dcfb7e6cefa (diff) | |
download | bun-f1658e2e58acb1fcdb3181e8238c50b961b822f6.tar.gz bun-f1658e2e58acb1fcdb3181e8238c50b961b822f6.tar.zst bun-f1658e2e58acb1fcdb3181e8238c50b961b822f6.zip |
fix-subprocess-argument-missing (#6407)
* fix-subprocess-argument-missing
* fix-tests
* nitpick, these should === not just be undefined
---------
Co-authored-by: dave caruso <me@paperdave.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/bun.js/api/bun/subprocess.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/api/bun/subprocess.zig b/src/bun.js/api/bun/subprocess.zig index b6e27d287..1bed014f4 100644 --- a/src/bun.js/api/bun/subprocess.zig +++ b/src/bun.js/api/bun/subprocess.zig @@ -2060,7 +2060,7 @@ pub const Subprocess = struct { const result = cb.callWithThis( this.globalThis, this.this_jsvalue, - &[_]JSValue{data}, + &[_]JSValue{ data, this.this_jsvalue }, ); data.ensureStillAlive(); if (result.isAnyError()) { |