rewrite comments

Autoformatted, I am not sure by how much changed, but I'm quite sure that was what happened.
This commit is contained in:
buzz-lightsnack-2007 2024-05-25 11:19:00 +08:00
parent ee1559522b
commit 39495a7ec5

View file

@ -22,7 +22,7 @@ export default class processor {
await this.product.read();
// Save the details already.
return(await this.product.save());
return(await this.product.save(options));
}
async analyze(options = {}) {
@ -60,10 +60,10 @@ export default class processor {
this.product.analysis = JSON.parse(this.#analyzer.candidate.replace(/(```json|```|`)/g, ''));
// Save the data.
await this.product.save();
await this.product.save(options);
};
}
}
};
// Try analysis of the data.
try {