Skip to content

Commit

Permalink
fix baby bug
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed Sep 28, 2023
1 parent d5034a4 commit 2379e9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/pds/src/repo/prepare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,9 @@ function assertNoExplicitSlurs(rkey: string, record: RepoRecord) {
toCheck += ' ' + rkey
toCheck += ' ' + record.displayName
} else if (isPost(record)) {
toCheck += record.tags?.join(' ')
if (record.tags) {
toCheck += record.tags.join(' ')
}

for (const facet of record.facets || []) {
for (const feat of facet.features) {
Expand Down

0 comments on commit 2379e9e

Please sign in to comment.