| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c4ef170 commit 1025868
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -109,9 +109,9 @@ class ProcessWrap : public HandleWrap { | |||
| 109 | 109 | Local<Value> type = | |
| 110 | 110 | stdio->Get(context, env->type_string()).ToLocalChecked(); | |
| 111 | 111 | ||
| 112 | - if (type->Equals(env->ignore_string())) { | ||
| 112 | + if (type->StrictEquals(env->ignore_string())) { | ||
| 113 | 113 | options->stdio[i].flags = UV_IGNORE; | |
| 114 | - } else if (type->Equals(env->pipe_string())) { | ||
| 114 | + } else if (type->StrictEquals(env->pipe_string())) { | ||
| 115 | 115 | options->stdio[i].flags = static_cast<uv_stdio_flags>( | |
| 116 | 116 | UV_CREATE_PIPE | UV_READABLE_PIPE | UV_WRITABLE_PIPE); | |
| 117 | 117 | Local<String> handle_key = env->handle_string(); | |
@@ -121,7 +121,7 @@ class ProcessWrap : public HandleWrap { | |||
| 121 | 121 | options->stdio[i].data.stream = | |
| 122 | 122 | reinterpret_cast<uv_stream_t*>( | |
| 123 | 123 | Unwrap<PipeWrap>(handle)->UVHandle()); | |
| 124 | - } else if (type->Equals(env->wrap_string())) { | ||
| 124 | + } else if (type->StrictEquals(env->wrap_string())) { | ||
| 125 | 125 | Local<String> handle_key = env->handle_string(); | |
| 126 | 126 | Local<Object> handle = | |
| 127 | 127 | stdio->Get(context, handle_key).ToLocalChecked().As<Object>(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments