mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix: allow SHOW_UPCOMING_CHANGES=true on staging (#51288)
This commit is contained in:
committed by
GitHub
parent
b778eb568d
commit
8700500668
@@ -101,7 +101,7 @@ if (FREECODECAMP_NODE_ENV !== 'development') {
|
||||
|
||||
`);
|
||||
|
||||
if (env['showUpcomingChanges'])
|
||||
if (env['showUpcomingChanges'] && env['deploymentEnv'] !== 'staging')
|
||||
throw Error(`
|
||||
|
||||
SHOW_UPCOMING_CHANGES should never be 'true' in production
|
||||
|
||||
Reference in New Issue
Block a user