diff --git a/src/main.zig b/src/main.zig index e36f477..10c71ec 100644 --- a/src/main.zig +++ b/src/main.zig @@ -83,7 +83,7 @@ pub fn main() !void { defer allocator.free(bucketBase); try debug.log("Found bucket: {s}\n", .{bucketBase}); - const result = search.searchBucket(allocator, regexQuery.?, bucketBase, debug) catch { + const result = search.searchBucket(allocator, regexQuery, bucketBase, debug) catch { try std.io.getStdErr().writer().print("Failed to search through the bucket: {s}.\n", .{f.name}); continue; };