Print a hint where to get the token
This commit is contained in:
parent
b00e27342d
commit
523f2f0d48
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue