Skip to content

Commit 23065b2

Browse files
authored
Update node_process_events.cc
1 parent 05d80a6 commit 23065b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_process_events.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ std::set<std::string> experimental_warnings;
105105

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

110110
experimental_warnings.insert(warning);
111111
std::string message(warning);

0 commit comments

Comments
 (0)