@backpackjs/transform-product-feed
Advanced tools
Comparing version 4.27.10-next.0 to 4.27.10-next.1
@@ -68,3 +68,5 @@ "use strict"; | ||
const remainingItemsCount = invalidItems.length - 5; | ||
const invalidItemsList = invalidItems.slice(0, 5).map((item) => item.handle); | ||
const invalidItemsList = invalidItems | ||
.slice(0, 5) | ||
.map((item) => `${item.title} (${item.id})`); | ||
if (remainingItemsCount > 0) { | ||
@@ -74,5 +76,5 @@ invalidItemsList.push(`... ${remainingItemsCount} more items`); | ||
if (invalidItems.length > 0) { | ||
const message = `The following products have a property that is null or undefined and were not included:`; | ||
const message = `The following variants have a property that is null or undefined and were not included:`; | ||
log.error(message); | ||
invalidItemsList.forEach((item) => log.error(`• ${item}`)); | ||
invalidItemsList.forEach((item) => log.error(item)); | ||
} | ||
@@ -79,0 +81,0 @@ }; |
{ | ||
"name": "@backpackjs/transform-product-feed", | ||
"version": "4.27.10-next.0", | ||
"version": "4.27.10-next.1", | ||
"license": "MIT", | ||
@@ -25,3 +25,3 @@ "author": "BackpackJS <dev@packdigial.com> (http://packdigital.com/)", | ||
}, | ||
"gitHead": "cba47f22fa4bf4151106e470afc5ccd4b7e64164" | ||
"gitHead": "2ae48feb82d521b110293401c1778b49b7d2db5e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9965
99