diff --git a/crates/bin/src/args.rs b/crates/bin/src/args.rs index 5d62b52e..195f25f1 100644 --- a/crates/bin/src/args.rs +++ b/crates/bin/src/args.rs @@ -610,7 +610,7 @@ You cannot use --{option} and specify multiple packages at the same time. Do one } } match opts.github_token.as_ref() { - Some(token) if token.len() < 10 => opts.github_token = None, + Some(token) if token.0.len() < 10 => opts.github_token = None, _ => (), }