Skip to content

Commit

Permalink
Update node_process_events.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig authored Nov 29, 2024
1 parent 05d80a6 commit 23065b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_process_events.cc
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ std::set<std::string> experimental_warnings;

Maybe<bool> ProcessEmitExperimentalWarning(Environment* env,
const std::string& warning) {
if (experimental_warnings.contains(warning)) return Nothing<bool>();
if (!experimental_warnings.contains(warning)) return Nothing<bool>();

experimental_warnings.insert(warning);
std::string message(warning);
Expand Down

0 comments on commit 23065b2

Please sign in to comment.