mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Fix banned word: replace std.StringHashMap with bun.StringHashMap
Use bun.StringHashMap instead of std.StringHashMap for better performance as it has a faster eql function. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -61,7 +61,7 @@ pub const PruneCommand = struct {
|
||||
const node_modules_path = try std.fmt.bufPrint(&node_modules_buf, "{s}/node_modules", .{cwd});
|
||||
|
||||
// Get the list of packages that should exist according to the lockfile
|
||||
var expected_packages = std.StringHashMap(void).init(allocator);
|
||||
var expected_packages = bun.StringHashMap(void).init(allocator);
|
||||
defer expected_packages.deinit();
|
||||
|
||||
// Add all packages that are actually used/installed
|
||||
|
||||
Reference in New Issue
Block a user