lint & fix tests

This commit is contained in:
Michael C
2021-07-05 03:14:05 -04:00
parent d29c9613b9
commit d5204e9813
7 changed files with 14 additions and 12 deletions

View File

@@ -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, '');
}