feat(macos-packages): use new array_list

This commit is contained in:
utox39
2025-08-23 00:18:24 +02:00
parent da70f9ee06
commit 8aa0f4972e

View File

@@ -2,7 +2,7 @@ const std = @import("std");
const utils = @import("utils.zig");
pub fn getPackagesInfo(allocator: std.mem.Allocator) ![]const u8 {
var packages_info = std.ArrayList(u8).init(allocator);
var packages_info = std.array_list.Managed(u8).init(allocator);
defer packages_info.deinit();
const homebrew_packages = countHomebrewPackages() catch |err| if (err == error.FileNotFound) 0 else return err;