Skip to content

Commit

Permalink
fix: infamous cassing
Browse files Browse the repository at this point in the history
  • Loading branch information
LudovicMalot committed Oct 8, 2024
1 parent cd3367b commit 381d4bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file modified bun.lockb
Binary file not shown.
4 changes: 3 additions & 1 deletion scripts/utils/stringUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ export function toPascalCase(str: string): string {
.split(/[^a-zA-Z0-9']+/)
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
.join('')
.replace(/'/g, '');
.replace(/'/g, '')
.replace('Tcg', 'TCG')
.replace('Dewwhite', 'DewWhite');
}

/**
Expand Down
1 change: 0 additions & 1 deletion types/Domains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ type DomainType = {
export type Domains = {
characters: DomainType[];
weapons: DomainType[];
version: string;
};

0 comments on commit 381d4bc

Please sign in to comment.