mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	eslint: Fix unicorn/prefer-includes.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		@@ -506,7 +506,7 @@ function filter_mention_name(current_token: string): string | undefined {
 | 
			
		||||
    } else if (current_token.startsWith("*")) {
 | 
			
		||||
        current_token = current_token.slice(1);
 | 
			
		||||
    }
 | 
			
		||||
    if (current_token.lastIndexOf("*") !== -1) {
 | 
			
		||||
    if (current_token.includes("*")) {
 | 
			
		||||
        return undefined;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user