Commit 105078519a

DraagrenKirneh <h_n91@hotmail.com>
2023-05-30 14:13:06
fix missing insertion of module to all_modules on first download
1 parent 5c6f111
Changed files (1)
src/Package.zig
@@ -582,6 +582,7 @@ fn fetchAndUnpack(
     });
 
     const mod = try createWithDir(gpa, global_cache_directory, pkg_dir_sub_path, build_zig_basename);
+    try all_modules.put(gpa, actual_hex, mod);
     return .{
         .mod = mod,
         .found_existing = false,