fix(rechallenge): Use includes instead
This commit is contained in:
@ -56,7 +56,7 @@ export const addLoopProtectHtmlJsJsx = _.cond([
|
|||||||
testHTMLJS,
|
testHTMLJS,
|
||||||
_.partial(
|
_.partial(
|
||||||
vinyl.testContents,
|
vinyl.testContents,
|
||||||
contents => contents.toLowerCase().contians('<script>')
|
contents => contents.toLowerCase().includes('<script>')
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
addLoopProtect
|
addLoopProtect
|
||||||
|
Reference in New Issue
Block a user