From 62f67e96a4d6405639cbe16cec18fc9b6281d109 Mon Sep 17 00:00:00 2001 From: awu43 <46470763+awu43@users.noreply.github.com> Date: Fri, 6 Aug 2021 06:14:02 -0700 Subject: [PATCH] fix(curriculum): bracket notation regex (#43062) --- .../implementation-of-social-authentication-ii.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/curriculum/challenges/english/06-quality-assurance/advanced-node-and-express/implementation-of-social-authentication-ii.md b/curriculum/challenges/english/06-quality-assurance/advanced-node-and-express/implementation-of-social-authentication-ii.md index 3cc137ac92..ef976e6364 100644 --- a/curriculum/challenges/english/06-quality-assurance/advanced-node-and-express/implementation-of-social-authentication-ii.md +++ b/curriculum/challenges/english/06-quality-assurance/advanced-node-and-express/implementation-of-social-authentication-ii.md @@ -88,12 +88,12 @@ GitHub strategy should be setup correctly thus far. ); assert.match( data, - /process.env.GITHUB_CLIENT_SECRET/g, + /process\.env(\.GITHUB_CLIENT_SECRET|\[(?"|')GITHUB_CLIENT_SECRET\k\])/g, 'You should use process.env.GITHUB_CLIENT_SECRET' ); assert.match( data, - /process.env.GITHUB_CLIENT_ID/g, + /process\.env(\.GITHUB_CLIENT_ID|\[(?"|')GITHUB_CLIENT_ID\k\])/g, 'You should use process.env.GITHUB_CLIENT_ID' ); }, @@ -107,8 +107,8 @@ GitHub strategy should be setup correctly thus far. ```js /** - Backend challenges don't need solutions, - because they would need to be tested against a full working project. + Backend challenges don't need solutions, + because they would need to be tested against a full working project. Please check our contributing guidelines to learn more. */ ```