+1
-1
lines changedFilter options
+1
-1
lines changed Original file line number Diff line number Diff line change
@@ -704,9 +704,9 @@ void napi_module_register_by_symbol(v8::Local<v8::Object> exports,
704
704
napi_addon_register_func init,
705
705
int32_t module_api_version) {
706
706
node::Environment* node_env = node::Environment::GetCurrent(context);
707
+
CHECK_NOT_NULL(node_env);
707
708
std::string module_filename = "";
708
709
if (init == nullptr) {
709
-
CHECK_NOT_NULL(node_env);
710
710
node_env->ThrowError("Module has no declared entry point.");
711
711
return;
712
712
}
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4