forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable ANSI formatting for security autoconfiguration on Windows cmd…
… line (elastic#83326) In order to display formatted (bolded) autoconfiguration text on Windows cmd prompt using JANSI, one needs to invoke the SetConsoleMode Kernel32 API, via JANSI's AnsiConsole#install. But we lack the testing infra to properly assert the formatting behavior, so this PR disables ANSI-formatted output on Windows cmd prompt. Fixes: elastic#83316
- Loading branch information
1 parent
4bf3068
commit 035fdd8
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 83326 | ||
summary: Disable ANSI formatting for security autoconfiguration on Windows cmd line | ||
area: Security | ||
type: bug | ||
issues: [] |