diff --git a/seed/challenges/01-front-end-development-certification/basic-bonfires.json b/seed/challenges/01-front-end-development-certification/basic-bonfires.json
index 5b1fc120fbe..5d53064509c 100644
--- a/seed/challenges/01-front-end-development-certification/basic-bonfires.json
+++ b/seed/challenges/01-front-end-development-certification/basic-bonfires.json
@@ -374,7 +374,7 @@
"assert(confirmEnding(\"Open sesame\", \"same\") === true, 'message: confirmEnding(\"Open sesame\", \"same\") should return true.');",
"assert(confirmEnding(\"Open sesame\", \"pen\") === false, 'message: confirmEnding(\"Open sesame\", \"pen\") should return false.');",
"assert(confirmEnding(\"If you want to save our world, you must hurry. We dont know how much longer we can withstand the nothing\", \"mountain\") === false, 'message: confirmEnding(\"If you want to save our world, you must hurry. We dont know how much longer we can withstand the nothing\", \"mountain\") should return false.');",
- "assert(!/\\.endsWith\\(.*?\\)\\s*?;/.test(code), 'message: Do not use the built-in method .endsWith() to solve the challenge.');"
+ "assert(!/\\.endsWith\\(.*?\\)\\s*?;?/.test(code), 'message: Do not use the built-in method .endsWith() to solve the challenge.');"
],
"type": "bonfire",
"isRequired": true,