We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c2a3a1 commit 1768290Copy full SHA for 1768290
cpp-linter/src/rest_api/github/mod.rs
@@ -106,8 +106,8 @@ impl RestApiClient for GithubApiClient {
106
);
107
// headers.insert("User-Agent", USER_AGENT.parse().unwrap());
108
if let Ok(token) = env::var("GITHUB_TOKEN") {
109
- let mut val = HeaderValue::from_str(token.as_str())?;
110
- val.set_sensitive(true);
+ let /*mut*/ val = HeaderValue::from_str(token.as_str())?;
+ //val.set_sensitive(true);
111
headers.insert(AUTHORIZATION, val);
112
}
113
Ok(headers)
0 commit comments