change method of writing filter content to disk
Overwrite instead of merging
This commit is contained in:
		
							parent
							
								
									fffef232c0
								
							
						
					
					
						commit
						ed47e40bd1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -94,7 +94,7 @@ export default class FilterManager { | |||
| 						// Only work when the filter is valid.
 | ||||
| 						if (result) { | ||||
| 							// Write the filter to storage.
 | ||||
| 							if (!(await global.write(["filters", filter_URL], result, -1, {"silent": true}))) { | ||||
| 							if (!(await global.write(["filters", filter_URL], result, -1, {"silent": true, "strict": true}))) { | ||||
| 								throw ReferenceError; | ||||
| 							}; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue