fix: color no-replies messages yellow for visual distinction
This commit is contained in:
@@ -474,8 +474,10 @@ namespace URLNotesGrabberCORE
|
|||||||
Console.WriteLine($"[Reply Text] Notes count: {postsResponse.response.notes?.Count ?? 0}");
|
Console.WriteLine($"[Reply Text] Notes count: {postsResponse.response.notes?.Count ?? 0}");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mark all replies for this post with '?' to indicate API returned no posts
|
var previousColor = Console.ForegroundColor;
|
||||||
|
Console.ForegroundColor = ConsoleColor.Yellow;
|
||||||
Console.WriteLine($"[Reply Text] Marking all replies for {blogName}/{postID} with '?' due to no notes in response");
|
Console.WriteLine($"[Reply Text] Marking all replies for {blogName}/{postID} with '?' due to no notes in response");
|
||||||
|
Console.ForegroundColor = previousColor;
|
||||||
DataAccess.UpdateAllNoteReplyTextForPost(blogName, postID, "?");
|
DataAccess.UpdateAllNoteReplyTextForPost(blogName, postID, "?");
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user