With blocked product being thrown as an error, no need to check once more if blocked
This commit is contained in:
		
							parent
							
								
									c033fd3286
								
							
						
					
					
						commit
						68beec366a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										2
									
								
								scripts/external/processor.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								scripts/external/processor.js
									
										
									
									
										vendored
									
									
								
							|  | @ -54,7 +54,7 @@ export default class processor { | ||||||
| 						throw Error(); | 						throw Error(); | ||||||
| 					}; | 					}; | ||||||
| 	 | 	 | ||||||
| 					if (this.#analyzer.candidate && !this.status[`blocked`]) { | 					if (this.#analyzer.candidate) { | ||||||
| 						// Remove all markdown formatting.
 | 						// Remove all markdown formatting.
 | ||||||
| 						this.product.analysis = JSON.parse(this.#analyzer.candidate.replace(/(```json|```|`)/g, '')); | 						this.product.analysis = JSON.parse(this.#analyzer.candidate.replace(/(```json|```|`)/g, '')); | ||||||
| 						 | 						 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue