Skip to content

Commit

Permalink
Update src/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Kuba Orlik <[email protected]>
  • Loading branch information
ad-astra-via and kuba-orlik authored Nov 24, 2023
1 parent 375cd95 commit 67afacf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ const mapEcommerceData = (ecommerce: EcommerceType) => {
if (!ecommerce.products) {
return
} else {
ecommerce.products.forEach((product, index) => {
;[
ecommerce.products.forEach((product, index) =>

Check failure on line 65 in src/index.ts

View workflow job for this annotation

GitHub Actions / build-test (18.x)

Delete `·`
[
'product_id',
'sku',
'category',
Expand All @@ -76,7 +76,7 @@ const mapEcommerceData = (ecommerce: EcommerceType) => {
transformedProductData[key] =
product[prop as keyof Product] || product.sku
})
})
)
}

const ecommerceData = {
Expand Down

0 comments on commit 67afacf

Please sign in to comment.