Skip to content

Commit a8e72d2

Browse files
authored
Merge pull request #243 from mjcheetham/noboxchars
Remove use of box drawing characters in warning output
2 parents b001322 + 6785e26 commit a8e72d2

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

src/shared/Microsoft.Git.CredentialManager/HttpClientFactory.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ public HttpClient CreateClient()
7272
if (!_settings.IsCertificateVerificationEnabled)
7373
{
7474
_trace.WriteLine("TLS certificate verification has been disabled.");
75-
_streams.Error.WriteLine("warning: ┌──────────────── SECURITY WARNING ───────────────┐");
76-
_streams.Error.WriteLine("warning: TLS certificate verification has been disabled! ");
77-
_streams.Error.WriteLine("warning: └─────────────────────────────────────────────────┘");
75+
_streams.Error.WriteLine("warning: ----------------- SECURITY WARNING ----------------");
76+
_streams.Error.WriteLine("warning: | TLS certificate verification has been disabled! |");
77+
_streams.Error.WriteLine("warning: ---------------------------------------------------");
7878
_streams.Error.WriteLine($"warning: HTTPS connections may not be secure. See {Constants.HelpUrls.GcmTlsVerification} for more information.");
7979

8080
#if NETFRAMEWORK

src/shared/Microsoft.Git.CredentialManager/Settings.cs

+12-12
Original file line numberDiff line numberDiff line change
@@ -277,18 +277,18 @@ public bool IsInteractionAllowed
277277
* We've slightly changed the behaviour of this setting in GCM Core to essentially
278278
* remove the 'always' option. The table below outlines the changes:
279279
*
280-
* ┌──────────┬───────────────────────────┬────────────────────┐
281-
* Value(s) Old meaning New meaning
282-
* ┝━━━━━━━━━━┿━━━━━━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━━━━━━━━━┥
283-
* auto Prompt if required [unchanged]
284-
* ├──────────┼───────────────────────────┼────────────────────┤
285-
* never Never prompt ─ fail if [unchanged]
286-
* false interaction is required
287-
* ├──────────┼───────────────────────────┼────────────────────┤
288-
* always Always prompt ─ don't use Prompt if required
289-
* force cached credentials
290-
* true
291-
* └──────────┴───────────────────────────┴────────────────────┘
280+
* -------------------------------------------------------------
281+
* | Value(s) | Old meaning | New meaning |
282+
* |-----------------------------------------------------------|
283+
* | auto | Prompt if required | [unchanged] |
284+
* |-----------------------------------------------------------|
285+
* | never | Never prompt ─ fail if | [unchanged] |
286+
* | false | interaction is required | |
287+
* |-----------------------------------------------------------|
288+
* | always | Always prompt ─ don't use | Prompt if required |
289+
* | force | cached credentials | |
290+
* | true | | |
291+
* -------------------------------------------------------------
292292
*/
293293
if (StringComparer.OrdinalIgnoreCase.Equals("never", value))
294294
{

0 commit comments

Comments
 (0)