From f6388f260b33b42774877657d605f8e6978ac104 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Thu, 21 Jan 2021 17:04:10 -0330 Subject: [PATCH] Remove unused environment variables (#10234) The environment variables `METAMETRICS_PROJECT_ID` and `ETH_GAS_STATION_API_KEY` were still being injected into the JavaScript build, despite being unused. The MetaMetrics project ID was made obsolete in #9646, and the ETH Gas Station API key was made obsolete in PR #9867 --- development/build/scripts.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/development/build/scripts.js b/development/build/scripts.js index 9236dbb7e..ae1a3472c 100644 --- a/development/build/scripts.js +++ b/development/build/scripts.js @@ -375,12 +375,10 @@ function createScriptTasks({ browserPlatforms, livereload }) { METAMASK_DEBUG: opts.devMode, METAMASK_ENVIRONMENT: environment, METAMASK_VERSION: baseManifest.version, - METAMETRICS_PROJECT_ID: process.env.METAMETRICS_PROJECT_ID, NODE_ENV: opts.devMode ? 'development' : 'production', IN_TEST: opts.testing ? 'true' : false, PUBNUB_SUB_KEY: process.env.PUBNUB_SUB_KEY || '', PUBNUB_PUB_KEY: process.env.PUBNUB_PUB_KEY || '', - ETH_GAS_STATION_API_KEY: process.env.ETH_GAS_STATION_API_KEY || '', CONF: opts.devMode ? conf : {}, SENTRY_DSN: process.env.SENTRY_DSN, INFURA_PROJECT_ID: opts.testing