aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/publish.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-20 08:36:03 +0800
committerFabio Berger <me@fabioberger.com>2018-04-20 08:36:03 +0800
commit417cec9e04af84935c38ed77cdb53a8026b0004e (patch)
treebd9ba53c7fb98a7fa2ce75cc3fc921c30b9d1afb /packages/monorepo-scripts/src/publish.ts
parent2b15c03b9ac516f7e38eef174503096026162b90 (diff)
downloaddexon-sol-tools-417cec9e04af84935c38ed77cdb53a8026b0004e.tar.gz
dexon-sol-tools-417cec9e04af84935c38ed77cdb53a8026b0004e.tar.zst
dexon-sol-tools-417cec9e04af84935c38ed77cdb53a8026b0004e.zip
Consolidate github personal access token env to one place: constants.ts
Diffstat (limited to 'packages/monorepo-scripts/src/publish.ts')
-rw-r--r--packages/monorepo-scripts/src/publish.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts
index 2ae9bbb60..6c728467a 100644
--- a/packages/monorepo-scripts/src/publish.ts
+++ b/packages/monorepo-scripts/src/publish.ts
@@ -123,7 +123,7 @@ async function checkPublishRequiredSetupAsync(): Promise<boolean> {
}
// Check to see if Git personal token setup
- if (_.isUndefined(process.env.GITHUB_PERSONAL_ACCESS_TOKEN_0X_JS)) {
+ if (_.isUndefined(constants.githubPersonalAccessToken)) {
utils.log(
'You must have a Github personal access token set to an envVar named `GITHUB_PERSONAL_ACCESS_TOKEN_0X_JS`. Add it then try again.',
);