Skip to content

Commit

Permalink
fix: 🚨 remove .? from regexQuery for searchBucket
Browse files Browse the repository at this point in the history
  • Loading branch information
evaneliasyoung committed Jan 15, 2025
1 parent f2f383b commit ec69c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit ec69c2b

Please sign in to comment.