Skip to content

Commit

Permalink
Remove PSStyle if terminal does not support escape sequence (#426)
Browse files Browse the repository at this point in the history
* update PSStyle.cs

* update AzurePSCmdlet.cs

* update PSStyle.cs

* update PSStyle.cs: private parameter
  • Loading branch information
lijinpei2008 authored Aug 6, 2024
1 parent ccb149a commit e57ee15
Show file tree
Hide file tree
Showing 2 changed files with 274 additions and 37 deletions.
1 change: 1 addition & 0 deletions src/Common/AzurePSCmdlet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ protected virtual void TearDownHttpClientPipeline()
AzureSession.Instance.ClientFactory.RemoveUserAgent(ModuleName);
AzureSession.Instance.ClientFactory.RemoveHandler(typeof(CmdletInfoHandler));
}

/// <summary>
/// Cmdlet begin process. Write to logs, setup Http Tracing and initialize profile
/// </summary>
Expand Down
Loading

0 comments on commit e57ee15

Please sign in to comment.