mirror of
https://github.com/ItsVipra/ProToots
synced 2024-11-25 04:50:18 +00:00
Format files using prettier
This commit is contained in:
parent
b9fbb9b204
commit
c4c541ecbf
1 changed files with 2 additions and 2 deletions
|
@ -136,10 +136,10 @@ function sanitizePronouns(str) {
|
|||
str = str.replace(/:[\w_]+:/gi, "");
|
||||
|
||||
// Finally, remove leading and trailing whitespace.
|
||||
str= str.trim();
|
||||
str = str.trim();
|
||||
|
||||
// If the result is empty, return null, otherwise the empty string.
|
||||
return str==="" ? null : str;
|
||||
return str === "" ? null : str;
|
||||
}
|
||||
|
||||
const knownPronouns = [
|
||||
|
|
Loading…
Reference in a new issue