mirror of
https://github.com/github/codeql.git
synced 2026-04-05 07:08:31 +02:00
update test helper to use more robust .ReplaceLineEndings() sanitizer
This commit is contained in:
@@ -53,7 +53,7 @@ static class UserLoggerExtensions
|
||||
{
|
||||
public static void WarnSafe(this ILogger logger, string message)
|
||||
{
|
||||
logger.Warn(message.Replace(Environment.NewLine, ""));
|
||||
logger.Warn(message.ReplaceLineEndings(""));
|
||||
}
|
||||
|
||||
public static void WarnUnsafe(this ILogger logger, string message)
|
||||
|
||||
Reference in New Issue
Block a user