Compare commits

...

1 Commits
main ... token

Author SHA1 Message Date
Dan Abramov 523f2f0d48 Print a hint where to get the token 2023-05-05 20:01:46 +01:00
1 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,10 @@ const CIRCLE_TOKEN = process.env.CIRCLE_CI_API_TOKEN;
if (!CIRCLE_TOKEN) {
console.error(
theme.error('Missing required environment variable: CIRCLE_CI_API_TOKEN')
theme.error(
'Missing required environment variable: CIRCLE_CI_API_TOKEN\n' +
'Grab it here: https://app.circleci.com/settings/user/tokens'
)
);
process.exit(1);
}