Skip to content

Commit

Permalink
fix hasDescription
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh committed Mar 13, 2024
1 parent c3237e5 commit 1f46d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspace/sync/src/repo/trustwallet/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class TrustWalletAssets extends SyncCommand<Info> {

function hasDescription(info: Info): boolean {
if (!info.description) return false;
return info.description.replaceAll(/[-—_.]/, '').trim() !== '';
return info.description.replaceAll(/[-—_.]/g, '').trim() !== '';
}

function createLinks(info: Partial<Info>): README['frontmatter']['links'] {
Expand Down

0 comments on commit 1f46d8f

Please sign in to comment.