From 9bdc0bdfcf8ccf29550a9602580d185e582ace15 Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Sun, 12 May 2024 17:49:33 +0800 Subject: [PATCH] remove unused modules --- scripts/data/product.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/data/product.js b/scripts/data/product.js index 0f486f5..bc1440d 100644 --- a/scripts/data/product.js +++ b/scripts/data/product.js @@ -4,8 +4,6 @@ Ask product information to Google Gemini. */ // Import the storage management module. import {global, session, compare} from "/scripts/secretariat.js"; import hash from "/scripts/utils/hash.js"; -import texts from "/scripts/mapping/read.js"; -import logging from "/scripts/logging.js"; import {URLs} from "/scripts/utils/URLs.js"; // Don't forget to set the class as export default. @@ -58,7 +56,7 @@ export default class product { if (Object.hasOwn(this.status, `update`) ? this.status[`update`] : true) { // Save the snip data. (this.snip) ? await global.write([`sites`, this.URL, `snip`], this.snip, 1) : false; - + // Write the analysis data to the storage. return((this[`analysis`]) ? global.write([`sites`, this.URL, `analysis`], this.analysis, 1) : false); }