Public Access
Archive summary refinements and profile switching
PR and Push Build/Test / build-and-test (push) Successful in 6m37s
PR and Push Build/Test / build-and-test (push) Successful in 6m37s
This commit is contained in:
@@ -60,10 +60,12 @@ public sealed class SummaryAgentWriteAudit
|
||||
return;
|
||||
}
|
||||
|
||||
Directory.CreateDirectory(Path.GetDirectoryName(artifacts.AssistantContextPath)!);
|
||||
var existing = File.Exists(artifacts.AssistantContextPath)
|
||||
? await File.ReadAllTextAsync(artifacts.AssistantContextPath, cancellationToken)
|
||||
: "";
|
||||
if (!File.Exists(artifacts.AssistantContextPath))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var existing = await File.ReadAllTextAsync(artifacts.AssistantContextPath, cancellationToken);
|
||||
var builder = new StringBuilder();
|
||||
if (!string.IsNullOrEmpty(existing) && !existing.EndsWith(Environment.NewLine, StringComparison.Ordinal))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user