aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js
diff options
context:
space:
mode:
authorGravatar Nicolae-Rares Ailincai <ailincairares1@gmail.com> 2023-10-17 01:31:14 +0300
committerGravatar GitHub <noreply@github.com> 2023-10-16 15:31:14 -0700
commitf1658e2e58acb1fcdb3181e8238c50b961b822f6 (patch)
treeb715ab7d02e5f8731d9d83db7581db7b10b49666 /src/bun.js
parent90d7f335223d95cb0e603d95fd995dcfb7e6cefa (diff)
downloadbun-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/bun.js')
-rw-r--r--src/bun.js/api/bun/subprocess.zig2
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()) {