Skip to content

Commit ef71681

Browse files
committed
fix(v10.3): Rename golden_db to db in importSeeds function
Minor consistency fix - use 'db' as variable name instead of 'golden_db' to match naming convention. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8052daf commit ef71681

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/vibeec/gen_cmd.zig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,13 +371,13 @@ fn importSeeds(allocator: std.mem.Allocator, dir: []const u8) !void {
371371
std.debug.print(" Directory: {s}\n", .{dir});
372372
std.debug.print(" Scanning for .zig files...\n\n", .{});
373373

374-
var golden_db = try golden_db.GoldenDB.init(allocator);
375-
defer golden_db.deinit();
374+
var db = try golden_db.GoldenDB.init(allocator);
375+
defer db.deinit();
376376

377-
const count = try golden_db.importFromGenerated(dir);
377+
const count = try db.importFromGenerated(dir);
378378

379379
std.debug.print("\n Results:\n", .{});
380380
std.debug.print(" Seeds imported: {d}\n", .{count});
381-
std.debug.print(" Total DB size: {d}\n", .{golden_db.implementations.items.len});
381+
std.debug.print(" Total DB size: {d}\n", .{db.implementations.items.len});
382382
std.debug.print("\n", .{});
383383
}

0 commit comments

Comments
 (0)