From 6d409c1daaf2b884d57fe17520d4c369fcfce4c7 Mon Sep 17 00:00:00 2001 From: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Date: Fri, 26 Jul 2024 18:14:32 +1000 Subject: [PATCH] fix Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --- crates/bin/src/args.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, _ => (), }