bare-tty 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binding.c +1 -1
- package/package.json +1 -1
package/binding.c
CHANGED
|
@@ -157,7 +157,7 @@ on_read (uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf) {
|
|
|
157
157
|
assert(err == 0);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
js_call_function(env, ctx, on_read,
|
|
160
|
+
js_call_function(env, ctx, on_read, 2, argv, NULL);
|
|
161
161
|
|
|
162
162
|
err = js_close_handle_scope(env, scope);
|
|
163
163
|
assert(err == 0);
|