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 feff385 commit 76ae744Copy full SHA for 76ae744
src/node_env_var.cc
@@ -176,9 +176,7 @@ Local<Array> RealEnvStore::Enumerate(Isolate* isolate) const {
176
for (int i = 0; i < count; i++) {
177
#ifdef _WIN32
178
// If the key starts with '=' it is a hidden environment variable.
179
- // The '\0' check is a workaround for the bug behind
180
- // https://github.com/libuv/libuv/pull/2473 and can be removed later.
181
- if (items[i].name[0] == '=' || items[i].name[0] == '\0') continue;
+ if (items[i].name[0] == '=') continue;
182
#endif
183
MaybeLocal<String> str = String::NewFromUtf8(isolate, items[i].name);
184
if (str.IsEmpty()) {
0 commit comments