Merge pull request #5 from kolbytn/abort-fix

fixed abort replace string
This commit is contained in:
Kolby Nottingham 2023-11-12 15:09:49 -08:00 committed by GitHub
commit aa3924a819
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}