Skip to content

Commit

Permalink
fix: can be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikZed committed Jan 3, 2024
1 parent 15d0e11 commit 7feb32e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/integration-kencove-api/src/products/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1654,8 +1654,8 @@ export class KencoveApiAppProductSyncService {
variantWebsiteDescription !==
product.description
.replace?.(/<[^>]*>?/gm, "")
.trim() &&
variantWebsiteDescription !== product.description
?.trim() &&
variantWebsiteDescription !== product?.description
) {
filterVariantWebsiteDescription = false;
} else {
Expand Down

1 comment on commit 7feb32e

@vercel
Copy link

@vercel vercel bot commented on 7feb32e Jan 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.