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) {