Skip to content

Commit

Permalink
fix validator
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum committed Nov 15, 2024
1 parent 761d1fe commit 25e46b5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions deploy/tools/envs-validator/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -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(),
Expand All @@ -864,7 +859,6 @@ const schema = yup
.concat(rollupSchema)
.concat(beaconChainSchema)
.concat(bridgedTokensSchema)
.concat(sentrySchema)
.concat(rollbarSchema);
.concat(sentrySchema);

export default schema;

0 comments on commit 25e46b5

Please sign in to comment.