Merged PR 804024: Disable support for console hyperlinks

Something in Office's dev build process tree may be intercepting and rendering the escape characters used by terminal hyperlink support. Reverting this until it can be debugged further to avoid ugly characters from showing up on the console

Related work items: #2211824
This commit is contained in:
Michael Pysson 2024-09-06 23:13:36 +00:00
Родитель 3c9cd4cd92
Коммит ae103812d2
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -2863,6 +2863,9 @@ namespace BuildXL
{
path = translator?.Translate(path) ?? path;
WriteLineToConsole(path);
/* TODO - BUG 2211824. Hyperlinks aren't rendering correctly in office dev builds. Disabling hyperlink functionality for now
// Don't make the path a hyperlink if running in an SSH session since that link won't
// be opened reasonably on the client of that SSH session.
if (m_configuration.Infra == Infra.Developer && m_configuration.Logging.FancyConsole && !s_isSShSession.Value)
@ -2873,7 +2876,7 @@ namespace BuildXL
else
{
WriteLineToConsole(path);
}
}*/
}
private void WriteLineToConsole(string format, params object[] args)