Skip to content

Commit 164fc43

Browse files
committed
Not sure what that was about
1 parent 841fb06 commit 164fc43

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
3030
let headers = result.headers();
3131
match status {
3232
StatusCode::OK | StatusCode::CREATED => {
33-
let apiloc = config.extract_url(&headers);&& can_use_ssh)
33+
let apiloc = config.extract_url(&headers);
3434
let (remote_url, can_use_ssh) = match (
3535
config.ssh_url(&headers),
3636
matches.is_present("ssh_remote_format"),
@@ -54,15 +54,15 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
5454
exit(404);
5555
}
5656
}
57-
}
57+
},
5858
StatusCode::UNPROCESSABLE_ENTITY | StatusCode::BAD_REQUEST => {
5959
eprintln!("The provider had an issue processing this request. Perhaps the repository already exists, or you're using an unsupported option. e.g. Enabling projects on a repo in an org that has them disabled.");
6060
exit(2);
61-
}
61+
},
6262
StatusCode::UNAUTHORIZED => {
6363
eprintln!("You are unauthorized to create that repo.");
6464
exit(3);
65-
}
65+
},
6666
_ => {
6767
eprintln!("An unknown response was sent by the provider.");
6868
exit(42);

0 commit comments

Comments
 (0)