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