Skip to content

Commit 12937e5

Browse files
committed
fixed spaminator
1 parent ca53d3e commit 12937e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/lib/spaminator.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ def recognized_format?(text)
88
end
99

1010
def customer_support?(text)
11-
text.scan(/customer|support|phonenumber|phonesupport|toll|/i).size > 10
11+
text.scan(/customer|support|phonenumber|phonesupport|toll/i).size > 10
1212
end
1313

1414
def marketing?(text)
15-
text.scan(/herb|medical|marijuana|cannabis|/i).size > 10
15+
text.scan(/herb|medical|marijuana|cannabis/i).size > 10
1616
end
1717

1818
def download_links?(text, urls, title)

0 commit comments

Comments
 (0)