Skip to content

Commit

Permalink
Fix global ignore list
Browse files Browse the repository at this point in the history
  • Loading branch information
cannawen committed Sep 20, 2017
1 parent b3c4cd8 commit ef97f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conversion_helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ const globalIgnore = ["kill", "suicide", "death", "die", "depression", "crisis",
"ass", "anus", "anal", "butt", "tit", "kink", "bdsm", "blow job", "jizz", "cum",
"nsfw", "gonewild", "sex", "glory hole", "cuck", "porn", "incest", "piv", "milf"]

function shouldConvertComment(comment, regexArray) {
function shouldConvertComment(comment, regexArray = globalIgnore) {
const input = comment['body'];
const postTitle = comment['postTitle'];
const subreddit = comment['subreddit'];
Expand Down

0 comments on commit ef97f99

Please sign in to comment.