Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1164 from cloudflare/avery/fix-api-message
Browse files Browse the repository at this point in the history
fix: re-order wrangler config warning arguments
  • Loading branch information
EverlastingBugstopper authored Mar 26, 2020
2 parents 82ab3cb + d84fe44 commit 3c4add0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ fn run() -> Result<(), failure::Error> {

let user: GlobalUser = if default {
// API Tokens are the default
message::billboard(&format!("To find your API Token, go to {}\nand create it using the \"Edit Cloudflare Workers\" template.\n\nIf you are trying to use your Global API Key instead of an API Token\n{}, run {}.", not_recommended_msg, recommended_cmd_msg, api_token_url));
message::billboard(&format!("To find your API Token, go to {}\nand create it using the \"Edit Cloudflare Workers\" template.\n\nIf you are trying to use your Global API Key instead of an API Token\n{}, run {}.", api_token_url, not_recommended_msg, recommended_cmd_msg));
let api_token: String = interactive::get_user_input("Enter API Token: ");
GlobalUser::TokenAuth { api_token }
} else {
Expand Down

0 comments on commit 3c4add0

Please sign in to comment.