File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,9 +108,9 @@ class ProcessWrap : public HandleWrap {
108108 Local<Value> type =
109109 stdio->Get (context, env->type_string ()).ToLocalChecked ();
110110
111- if (type->Equals (env->ignore_string ())) {
111+ if (type->StrictEquals (env->ignore_string ())) {
112112 options->stdio [i].flags = UV_IGNORE;
113- } else if (type->Equals (env->pipe_string ())) {
113+ } else if (type->StrictEquals (env->pipe_string ())) {
114114 options->stdio [i].flags = static_cast <uv_stdio_flags>(
115115 UV_CREATE_PIPE | UV_READABLE_PIPE | UV_WRITABLE_PIPE);
116116 Local<String> handle_key = env->handle_string ();
@@ -120,7 +120,7 @@ class ProcessWrap : public HandleWrap {
120120 options->stdio [i].data .stream =
121121 reinterpret_cast <uv_stream_t *>(
122122 Unwrap<PipeWrap>(handle)->UVHandle ());
123- } else if (type->Equals (env->wrap_string ())) {
123+ } else if (type->StrictEquals (env->wrap_string ())) {
124124 Local<String> handle_key = env->handle_string ();
125125 Local<Object> handle =
126126 stdio->Get (context, handle_key).ToLocalChecked ().As <Object>();
You can’t perform that action at this time.
0 commit comments