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:
parent
ee1559522b
commit
39495a7ec5
1 changed files with 42 additions and 42 deletions
|
@ -22,7 +22,7 @@ export default class processor {
|
||||||
await this.product.read();
|
await this.product.read();
|
||||||
|
|
||||||
// Save the details already.
|
// Save the details already.
|
||||||
return(await this.product.save());
|
return(await this.product.save(options));
|
||||||
}
|
}
|
||||||
|
|
||||||
async analyze(options = {}) {
|
async analyze(options = {}) {
|
||||||
|
@ -60,10 +60,10 @@ export default class processor {
|
||||||
this.product.analysis = JSON.parse(this.#analyzer.candidate.replace(/(```json|```|`)/g, ''));
|
this.product.analysis = JSON.parse(this.#analyzer.candidate.replace(/(```json|```|`)/g, ''));
|
||||||
|
|
||||||
// Save the data.
|
// Save the data.
|
||||||
await this.product.save();
|
await this.product.save(options);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
// Try analysis of the data.
|
// Try analysis of the data.
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue