mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-01-27 12:50:47 +03:00
lint & fix tests
This commit is contained in:
@@ -46,6 +46,7 @@ async function getLastLogUserNameChange(userID: string) {
|
||||
}
|
||||
|
||||
function wellFormatUserName(userName: string) {
|
||||
// eslint-disable-next-line no-control-regex
|
||||
return userName.replace(/[\u0000-\u001F\u007F-\u009F]/g, '');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user