From f92f3f1a5e2aba1ea6d765fd06b8a76217186085 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 22 Oct 2022 01:17:06 +0200 Subject: Add license headers --- scripts/suppressExperimentalWarnings.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'scripts/suppressExperimentalWarnings.js') diff --git a/scripts/suppressExperimentalWarnings.js b/scripts/suppressExperimentalWarnings.js index dd5cd79..978f033 100644 --- a/scripts/suppressExperimentalWarnings.js +++ b/scripts/suppressExperimentalWarnings.js @@ -1,3 +1,21 @@ +/* + * Vencord, a modification for Discord's desktop app + * Copyright (c) 2022 Vendicated and contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . +*/ + process.emit = (originalEmit => function (name, data) { if (name === "warning" && data?.name === "ExperimentalWarning") return false; -- cgit