Updated flags, fix true/false being censored in cleaned output
This commit is contained in:
		
							parent
							
								
									cb6e1b5f36
								
							
						
					
					
						commit
						753bf84f78
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -1 +1 @@
 | 
				
			||||||
Subproject commit c7854e5872b46a75160facabe4100f5ce704c0ae
 | 
					Subproject commit b26219baeb920506e40bc6db42fcde609fb499c7
 | 
				
			||||||
| 
						 | 
					@ -7,7 +7,7 @@ exports.random = (array) => {
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const optionalReplace = (token) => {
 | 
					const optionalReplace = (token) => {
 | 
				
			||||||
  return token === undefined || token === "" ? "" : "<redacted>";
 | 
					  return token === undefined || token === "" ? "" : (token === "true" || token === "false" ? token : "<redacted>");
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// clean(text) to clean message of any private info or mentions
 | 
					// clean(text) to clean message of any private info or mentions
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue