6 lines
216 B
JavaScript
6 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);
|