Update UtilityService.ts

This commit is contained in:
syuilo 2024-09-22 10:58:37 +09:00
parent a27d4be764
commit e5fd9e004c

View file

@ -64,6 +64,7 @@ export class UtilityService {
@bindThis @bindThis
public isKeyWordIncluded(text: string, keyWords: string[]): boolean { public isKeyWordIncluded(text: string, keyWords: string[]): boolean {
console.log(text, keyWords);
if (keyWords.length === 0) return false; if (keyWords.length === 0) return false;
if (text === '') return false; if (text === '') return false;