From 7f769cdaf8cba40198fdc9d5c3d3c774854b1316 Mon Sep 17 00:00:00 2001 From: Ahmad Abdolsaheb Date: Wed, 10 Nov 2021 19:21:50 +0300 Subject: [PATCH] Add Patreon client key validation (#44155) --- tools/scripts/build/ensure-env.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/scripts/build/ensure-env.js b/tools/scripts/build/ensure-env.js index e9e7f544c5..b374a683a3 100644 --- a/tools/scripts/build/ensure-env.js +++ b/tools/scripts/build/ensure-env.js @@ -46,7 +46,7 @@ if (FREECODECAMP_NODE_ENV !== 'development') { 'showUpcomingChanges' ]; const searchKeys = ['algoliaAppId', 'algoliaAPIKey']; - const donationKeys = ['stripePublicKey', 'paypalClientId']; + const donationKeys = ['stripePublicKey', 'paypalClientId', 'patreonClientId']; const expectedVariables = locationKeys.concat( deploymentKeys,