mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 14:31:31 +01:00
Adopt Terrapin / msrustup for the CLI (#188732)
* cli: use terrapin for cli builds * update rust to 1.70 to allow ado artifacts feed on windows * apparently manaul cargo login is required * use msrustup * rustup is no longer user * update to 1.73 * add rust oss install
This commit is contained in:
@@ -622,11 +622,11 @@ impl Auth {
|
||||
return Ok(StoredCredential::from_response(body, provider));
|
||||
}
|
||||
|
||||
return Err(Auth::handle_grant_error(
|
||||
Err(Auth::handle_grant_error(
|
||||
provider.grant_uri(),
|
||||
status_code,
|
||||
body,
|
||||
));
|
||||
))
|
||||
}
|
||||
|
||||
/// GH doesn't have a refresh token, but does limit to the 10 most recently
|
||||
@@ -772,7 +772,7 @@ impl Auth {
|
||||
error!(this.log, "failed to keep token alive: {:?}", e);
|
||||
return Err(e.into());
|
||||
}
|
||||
Err(e) if matches!(e, AnyError::RefreshTokenNotAvailableError(_)) => {
|
||||
Err(AnyError::RefreshTokenNotAvailableError(_)) => {
|
||||
return Ok(());
|
||||
}
|
||||
Err(e) => {
|
||||
|
||||
Reference in New Issue
Block a user