diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-01 04:49:07 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-01 04:49:07 +0800 |
commit | d77efb611ebbeaf54aea6388f3e417ed326ccc62 (patch) | |
tree | 63dda8e7898ca21029eddf2a4d1b93f1d8957467 | |
parent | de8dcf9a72283711d41617fc2c0e849a4a8c7461 (diff) | |
download | dexon-sol-tools-d77efb611ebbeaf54aea6388f3e417ed326ccc62.tar dexon-sol-tools-d77efb611ebbeaf54aea6388f3e417ed326ccc62.tar.gz dexon-sol-tools-d77efb611ebbeaf54aea6388f3e417ed326ccc62.tar.bz2 dexon-sol-tools-d77efb611ebbeaf54aea6388f3e417ed326ccc62.tar.lz dexon-sol-tools-d77efb611ebbeaf54aea6388f3e417ed326ccc62.tar.xz dexon-sol-tools-d77efb611ebbeaf54aea6388f3e417ed326ccc62.tar.zst dexon-sol-tools-d77efb611ebbeaf54aea6388f3e417ed326ccc62.zip |
Remove env var check for INSTANT_HEAP_ANALYTICS_ID_PRODUCTION since this is only needed on discharge
-rw-r--r-- | packages/monorepo-scripts/src/prepublish_checks.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/packages/monorepo-scripts/src/prepublish_checks.ts b/packages/monorepo-scripts/src/prepublish_checks.ts index 60cdccf1d..36e61714b 100644 --- a/packages/monorepo-scripts/src/prepublish_checks.ts +++ b/packages/monorepo-scripts/src/prepublish_checks.ts @@ -17,7 +17,6 @@ async function prepublishChecksAsync(): Promise<void> { await checkChangelogFormatAsync(updatedPublicPackages); await checkGitTagsForNextVersionAndDeleteIfExistAsync(updatedPublicPackages); await checkPublishRequiredSetupAsync(); - checkRequiredEnvVariables(); } async function checkGitTagsForNextVersionAndDeleteIfExistAsync(updatedPublicPackages: Package[]): Promise<void> { @@ -184,16 +183,6 @@ async function checkPublishRequiredSetupAsync(): Promise<void> { } } -const checkRequiredEnvVariables = () => { - utils.log('Checking required environment variables...'); - const requiredEnvVars = ['INSTANT_HEAP_ANALYTICS_ID_PRODUCTION']; - requiredEnvVars.forEach(requiredEnvVarName => { - if (_.isUndefined(process.env[requiredEnvVarName])) { - throw new Error(`Must have ${requiredEnvVarName} set`); - } - }); -}; - prepublishChecksAsync().catch(err => { utils.log(err); process.exit(1); |