Vencord/scripts/suppressExperimentalWarnings.js

7 lines
216 B
JavaScript
Raw Normal View History

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