mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-07 13:01:03 -04:00
Merge pull request #16194 from raisedadead/fix/rechallenge-transformers
fix(rechallenge): Use includes instead of contains
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