got rid of incorrect string processing

This commit is contained in:
APEX FIGHT 2025-03-11 10:21:58 -04:00
parent 3caa59ccbf
commit 4fdfe49904

View File

@ -30,7 +30,7 @@ modList.forEach((ele, idx, arr) => {
}
if (process.argv[2] != "overwrite"){
if (Object.keys(oldRegistry).includes(ele.substring(1))) {
if (Object.keys(oldRegistry).includes(ele)) {
return;
}
}