From 9e164cabcc4fb31cb39219efd6b84634f95a1c1a Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Mon, 15 Apr 2024 14:46:48 +0800 Subject: [PATCH] make sure to save the product --- scripts/external/processor.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/external/processor.js b/scripts/external/processor.js index 5e9117b..92766c8 100644 --- a/scripts/external/processor.js +++ b/scripts/external/processor.js @@ -17,8 +17,9 @@ export default class processor { async analyze() { this.product = new product(this.data); await this.product.attach(); - console.log(this.product); - console.log(await this.product.analyze()); + await this.product.analyze(); + this.product.save(); + console.log(this.product.analysis); } constructor (filter) {