mirror of
https://github.com/ReVanced/revanced-website.git
synced 2026-01-23 02:51:03 +00:00
feat: do not apply friendly name to patch names
This commit is contained in:
@@ -2,7 +2,6 @@ export function friendlyName(text: string): string {
|
||||
return text
|
||||
.replace(/-/g, ' ')
|
||||
.replace(/revanced\/revanced/g, 'ReVanced')
|
||||
.replace(/revanced/g, 'ReVanced')
|
||||
.replace(/\bcli\b/g, 'CLI')
|
||||
.replace(/api/g, 'API')
|
||||
.replace(/(?:^|\s)\S/g, (x: string) => x.toUpperCase());
|
||||
|
||||
Reference in New Issue
Block a user