Skip to content

Commit

Permalink
feat: better error message when WOKWI_CLI_TOKEN is missing
Browse files Browse the repository at this point in the history
add a link to the page where you can generate CI tokens.
  • Loading branch information
urish committed Sep 25, 2023
1 parent 4ea700f commit 046a753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async function main() {
const token = process.env.WOKWI_CLI_TOKEN;
if (token == null || token.length === 0) {
console.error(
`Error: Missing WOKWI_CLI_TOKEN environment variable. Please set it to your Wokwi token.`
`Error: Missing WOKWI_CLI_TOKEN environment variable. Please set it to your Wokwi token. Get your token at https://wokwi.com/dashboard/ci.`
);
process.exit(1);
}
Expand Down

0 comments on commit 046a753

Please sign in to comment.