[Autotag] Tweak related to last commit

This commit is contained in:
Ducko 2021-02-17 18:12:09 +00:00
parent a5b00ba06b
commit d7ebe540b1
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
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 now due to bug in GM v7.0.0
if (bundleCode.includes(code)) return display.toLowerCase(); // We make the actual tag all lowercase for now due to bug in GM v7.0.0
};
export default (bundleCode) => { // Scans final bundle JS to try and auto-detect things, then adding tags