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