Public Access
Centralize summary frontmatter metadata
PR and Push Build/Test / build-and-test (push) Successful in 9m47s
PR and Push Build/Test / build-and-test (push) Successful in 9m47s
This commit is contained in:
@@ -52,11 +52,11 @@ public sealed class MeetingSummaryFailureWriter : IMeetingSummaryFailureWriter
|
||||
var meetingNote = File.Exists(artifacts.MeetingNotePath)
|
||||
? await meetingNoteStore.ReadAsync(artifacts.MeetingNotePath, cancellationToken)
|
||||
: new MeetingNote("", new MeetingNoteFrontmatter(), "");
|
||||
var frontmatter = MeetingArtifactFrontmatterRenderer.Create(
|
||||
var frontmatter = await MeetingSummaryFrontmatterFactory.CreateAsync(
|
||||
artifacts,
|
||||
meetingNote,
|
||||
MeetingArtifactFrontmatterRenderer.DefaultTitle(meetingNote, "Meeting Summary"),
|
||||
artifacts.SummaryPath);
|
||||
cancellationToken);
|
||||
await File.WriteAllTextAsync(
|
||||
artifacts.SummaryPath,
|
||||
MeetingArtifactFrontmatterRenderer.Render(
|
||||
|
||||
Reference in New Issue
Block a user