We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39e59c6 commit a859eedCopy full SHA for a859eed
2 files changed
src/main.rs
@@ -331,7 +331,7 @@ fn execute_cmd(
331
332
/// Run `git fetch` on all our repositories
333
fn fetch(workspace: &Path, threads: usize) -> anyhow::Result<()> {
334
- let cmd = vec![
+ let cmd = [
335
"fetch",
336
"--all",
337
"--prune",
src/providers/github.rs
@@ -144,9 +144,7 @@ impl Provider for GithubProvider {
144
.with_context(|| "Missing GITHUB_TOKEN environment variable")?;
145
146
let auth_header = match github_token.as_str() {
147
- "none" => {
148
- "none".to_string()
149
- },
+ "none" => "none".to_string(),
150
token => {
151
format!("Bearer {}", token)
152
}
0 commit comments