fix(rechallenge): Use includes instead

This commit is contained in:
Mrugesh Mohapatra
2017-12-15 12:17:30 +05:30
parent d3bbf27dab
commit 6852814e11

View File

@ -56,7 +56,7 @@ export const addLoopProtectHtmlJsJsx = _.cond([
testHTMLJS,
_.partial(
vinyl.testContents,
contents => contents.toLowerCase().contians('<script>')
contents => contents.toLowerCase().includes('<script>')
)
),
addLoopProtect