7 lines
216 B
JavaScript
7 lines
216 B
JavaScript
|
process.emit = (originalEmit => function (name, data) {
|
||
|
if (name === "warning" && data?.name === "ExperimentalWarning")
|
||
|
return false;
|
||
|
|
||
|
return originalEmit.apply(process, arguments);
|
||
|
})(process.emit);
|