Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
Jiahao XU 2024-07-26 18:14:32 +10:00 committed by GitHub
parent 916b87c649
commit 6d409c1daa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,
_ => (),
}