From 25e46b5f53f2f6b9ca8957484b7909c754a60364 Mon Sep 17 00:00:00 2001 From: tom Date: Fri, 15 Nov 2024 19:30:51 +0100 Subject: [PATCH] fix validator --- deploy/tools/envs-validator/schema.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/deploy/tools/envs-validator/schema.ts b/deploy/tools/envs-validator/schema.ts index 699084b552..5ae8d12b31 100644 --- a/deploy/tools/envs-validator/schema.ts +++ b/deploy/tools/envs-validator/schema.ts @@ -354,12 +354,6 @@ const sentrySchema = yup }), }); -const rollbarSchema = yup - .object() - .shape({ - NEXT_PUBLIC_ROLLBAR_CLIENT_TOKEN: yup.string().required(), - }); - const accountSchema = yup .object() .shape({ @@ -854,6 +848,7 @@ const schema = yup NEXT_PUBLIC_GOOGLE_ANALYTICS_PROPERTY_ID: yup.string(), NEXT_PUBLIC_MIXPANEL_PROJECT_TOKEN: yup.string(), NEXT_PUBLIC_GROWTH_BOOK_CLIENT_KEY: yup.string(), + NEXT_PUBLIC_ROLLBAR_CLIENT_TOKEN: yup.string(), // Misc NEXT_PUBLIC_USE_NEXT_JS_PROXY: yup.boolean(), @@ -864,7 +859,6 @@ const schema = yup .concat(rollupSchema) .concat(beaconChainSchema) .concat(bridgedTokensSchema) - .concat(sentrySchema) - .concat(rollbarSchema); + .concat(sentrySchema); export default schema;