ghost/data-generator/lib/importers/StripePricesImporter.js
Function generate
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
generate() {
const count = this.count;
this.count = this.count + 1;
const relatedProduct = this.products.find(product => product.id === this.model.product_id);