Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0604c9 commit a356f32Copy full SHA for a356f32
src/node_env_var.cc
@@ -178,9 +178,7 @@ Local<Array> RealEnvStore::Enumerate(Isolate* isolate) const {
178
for (int i = 0; i < count; i++) {
179
#ifdef _WIN32
180
// If the key starts with '=' it is a hidden environment variable.
181
- // The '\0' check is a workaround for the bug behind
182
- // https://github.com/libuv/libuv/pull/2473 and can be removed later.
183
- if (items[i].name[0] == '=' || items[i].name[0] == '\0') continue;
+ if (items[i].name[0] == '=') continue;
184
#endif
185
MaybeLocal<String> str = String::NewFromUtf8(isolate, items[i].name);
186
if (str.IsEmpty()) {
0 commit comments