fixed abort replace string

This commit is contained in:
MaxRobinsonTheGreat 2023-11-12 17:02:36 -06:00
parent 09266c80cc
commit bb15423172

View file

@ -22,7 +22,7 @@ export class Coder {
return code;
}
}
code = code.replace(';', '; if(bot.abort_code) return false;')
code = code.replaceAll(';\n', '; if(bot.abort_code) return false;\n')
return code;
}