7 references to Indent
AnalyzeCiFailure (6)
CauseIssueRenderer.cs (2)
94
("ERROR", MarkdownFormatting.
Indent
(error)),
177
row += $"\n\n {field}:\n\n" + MarkdownFormatting.
Indent
(DiagnosticTextSanitizer.Sanitize(diagnostic, limit: 4000, multiline: true), spaces: 8);
PrCommentRenderer.cs (3)
34
"\n - **Error**:\n\n" + MarkdownFormatting.
Indent
(DiagnosticTextSanitizer.Sanitize(test.Error ?? "", limit: 1000, multiline: true), spaces: 8) + "\n";
38
text += " - **Stack Trace** (first frames):\n\n" + MarkdownFormatting.
Indent
(string.Join('\n', stack.Split('\n').Take(5)), spaces: 8) + "\n";
45
text += $" - **{heading}** (sensitive values redacted):\n\n" + MarkdownFormatting.
Indent
(diagnostic, spaces: 8) + "\n";
WorkflowFailureDiagnosisContextBuilder.cs (1)
114
=> summary.Append(MarkdownFormatting.
Indent
(DiagnosticTextSanitizer.Sanitize(value, limit, multiline: true))).Append("\n\n");
AnalyzeCiFailure.Tests (1)
AnalyzeCiFailureRenderingTests.cs (1)
115
=> RunFunctionAsync(() => MarkdownFormatting.
Indent
(DiagnosticTextSanitizer.Sanitize(File.ReadAllText(args[0]), Int(args, index: 1, fallback: 65536), multiline: true)) + "\n");