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 60db9af commit 08b66f2Copy full SHA for 08b66f2
src/node_env_var.cc
@@ -106,7 +106,7 @@ void RealEnvStore::Set(Isolate* isolate,
106
node::Utf8Value val(isolate, value);
107
108
#ifdef _WIN32
109
- if (key.length() > 0 && key[0] == L'=') return;
+ if (key.length() > 0 && key[0] == '=') return;
110
#endif
111
uv_os_setenv(*key, *val);
112
}
@@ -123,7 +123,7 @@ int32_t RealEnvStore::Query(const char* key) const {
123
124
125
126
- if (key[0] == L'=') {
+ if (key[0] == '=') {
127
return static_cast<int32_t>(v8::ReadOnly) |
128
static_cast<int32_t>(v8::DontDelete) |
129
static_cast<int32_t>(v8::DontEnum);
0 commit comments