fix: add friend's pass to format name

This commit is contained in:
Zamitto 2024-11-11 10:35:33 -03:00
parent a2e41b81a3
commit 8cfe5b4d34

View file

@ -74,6 +74,7 @@ export const formatName = pipe<string>(
replaceDotsWithSpace, replaceDotsWithSpace,
replaceNbspWithSpace, replaceNbspWithSpace,
(str) => str.replace(/DIRECTOR'S CUT/gi, ""), (str) => str.replace(/DIRECTOR'S CUT/gi, ""),
(str) => str.replace(/Friend's Pass/gi, ""),
removeSymbolsFromName, removeSymbolsFromName,
removeDuplicateSpaces, removeDuplicateSpaces,
(str) => str.trim() (str) => str.trim()