From 6c8cdbd8aec7ffe1c0b91afe52052f1b77db8c9c Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Sun, 20 Jul 2025 16:16:10 -0700 Subject: [PATCH] clean up debug output --- src/providers/GitHub.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/providers/GitHub.zig b/src/providers/GitHub.zig index 71b67b6..c17e974 100644 --- a/src/providers/GitHub.zig +++ b/src/providers/GitHub.zig @@ -146,7 +146,7 @@ pub fn fetchReleases(self: *Self, allocator: Allocator) !ArrayList(Release) { for (tag_tasks) |*tag_task| { if (tag_task.result) |task_tags| { defer task_tags.deinit(); - const debug = std.mem.eql(u8, tag_task.repo, "DonIsaac/zlint"); + const debug = false; //std.mem.eql(u8, tag_task.repo, "DonIsaac/zlint"); if (debug) log.debug("Processing target repo for debugging {s}", .{tag_task.repo}); @@ -185,13 +185,13 @@ pub fn fetchReleases(self: *Self, allocator: Allocator) !ArrayList(Release) { const releases_duration: u64 = @intCast(releases_end_time - thread_start_time); const tags_duration: u64 = @intCast(tags_end_time - thread_start_time); const total_duration: u64 = @intCast(total_end_time - total_start_time); - log.debug("Fetched releases {}ms, tags {}ms ({} successful, {} failed)\n", .{ + log.debug("Fetched releases {}ms, tags {}ms ({} successful, {} failed)", .{ releases_duration, tags_duration, successful_repos, failed_repos, }); - log.debug("Total processing time: {}ms\n", .{total_duration}); + log.debug("Total processing time: {}ms", .{total_duration}); // Sort releases by date (most recent first) std.mem.sort(Release, releases.items, {}, compareReleasesByDate);