[Autotag] Remove temporary patch for bug in GM v7.0.0

This commit is contained in:
Ducko 2021-03-07 13:41:37 +00:00 committed by Keanu
parent 6e73a1eab0
commit f72a1d49cf
Signed by: keanucode
GPG Key ID: A7431C0D513CA93B
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
const basicIncludes = (bundleCode, code, display = (code[0].toUpperCase() + code.substring(1))) => {
// if (bundleCode.includes(code)) return display;
if (bundleCode.includes(code)) return display.toLowerCase(); // We make the actual tag all lowercase for now due to bug in GM v7.0.0
if (bundleCode.includes(code)) return display;
};
export default (bundleCode) => { // Scans final bundle JS to try and auto-detect things, then adding tags