mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	chore: eslint prefer-template
This commit is contained in:
		
				
					committed by
					
						 Julian Lam
						Julian Lam
					
				
			
			
				
	
			
			
			
						parent
						
							4ee0f1459d
						
					
				
				
					commit
					707b55b6a5
				
			| @@ -60,7 +60,7 @@ helpers.buildMatchQuery = function (match) { | ||||
| 	} | ||||
| 	_match = utils.escapeRegexChars(_match); | ||||
| 	if (!match.startsWith('*')) { | ||||
| 		_match = '^' + _match; | ||||
| 		_match = `^${_match}`; | ||||
| 	} | ||||
| 	if (!match.endsWith('*')) { | ||||
| 		_match += '$'; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user