Skip to content

Commit fa53112

Browse files
committed
Don't try to authenticate to GitHub API
1 parent 2669eef commit fa53112

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ fn latest_master_commit(token: &Option<String>) -> String {
122122
easy.get(true).unwrap();
123123
easy.url("https://api.github.com/repos/rust-lang/rust/commits/master")
124124
.unwrap();
125-
if let Some(token) = token {
126-
easy.username("x-access-token").unwrap();
127-
easy.password(token).unwrap();
125+
if let Some(_token) = token {
126+
// easy.username("x-access-token").unwrap();
127+
// easy.password(token).unwrap();
128128
}
129129
let mut headers = curl::easy::List::new();
130130
headers

0 commit comments

Comments
 (0)