From 23065b229842a2203f43ba843582261d1ef7d65f Mon Sep 17 00:00:00 2001 From: Yagiz Nizipli Date: Fri, 29 Nov 2024 17:32:44 -0500 Subject: [PATCH] Update node_process_events.cc --- src/node_process_events.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_process_events.cc b/src/node_process_events.cc index 128ad9fbb1f257..fabb69146e32bb 100644 --- a/src/node_process_events.cc +++ b/src/node_process_events.cc @@ -105,7 +105,7 @@ std::set experimental_warnings; Maybe ProcessEmitExperimentalWarning(Environment* env, const std::string& warning) { - if (experimental_warnings.contains(warning)) return Nothing(); + if (!experimental_warnings.contains(warning)) return Nothing(); experimental_warnings.insert(warning); std::string message(warning);