diff --git a/src/node_report_module.cc b/src/node_report_module.cc index b6f3475b3ddca7..13aa93aef4db0a 100644 --- a/src/node_report_module.cc +++ b/src/node_report_module.cc @@ -93,7 +93,8 @@ static void SetNetworkDisabled(const FunctionCallbackInfo& info) { Mutex::ScopedLock lock(per_process::cli_options_mutex); Environment* env = Environment::GetCurrent(info); Isolate* isolate = env->isolate(); - env->options()->report_network_disabled = info[0]->ToBoolean(isolate)->Value(); + env->options()->report_network_disabled + = info[0]->ToBoolean(isolate)->Value(); } static void GetDirectory(const FunctionCallbackInfo& info) {