We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02653b8 commit 44a5b73Copy full SHA for 44a5b73
src/node_env_var.cc
@@ -121,7 +121,7 @@ void RealEnvStore::Set(Isolate* isolate,
121
node::Utf8Value val(isolate, value);
122
123
#ifdef _WIN32
124
- if (key.length() > 0 && key[0] == L'=') return;
+ if (key.length() > 0 && key[0] == '=') return;
125
#endif
126
uv_os_setenv(*key, *val);
127
DateTimeConfigurationChangeNotification(isolate, key);
@@ -139,7 +139,7 @@ int32_t RealEnvStore::Query(const char* key) const {
139
}
140
141
142
- if (key[0] == L'=') {
+ if (key[0] == '=') {
143
return static_cast<int32_t>(v8::ReadOnly) |
144
static_cast<int32_t>(v8::DontDelete) |
145
static_cast<int32_t>(v8::DontEnum);
0 commit comments