diff --git a/src/main.zig b/src/main.zig index 26516517f87ead80a2174854146f15df36d2804f..1577b92059f5bd39f8d9a8b676ddf22978660662 100644 --- a/src/main.zig +++ b/src/main.zig @@ -3,10 +3,8 @@ const std = @import("std"); const detectlicense = @import("detect-license"); pub fn main() !void { - std.log.info("All your codebase are belong to us.", .{}); - var gpa = std.heap.GeneralPurposeAllocator(.{}){}; - const alloc = &gpa.allocator; + const alloc = gpa.allocator(); const license = try detectlicense.detectInDir(alloc, std.fs.cwd()); std.debug.assert(std.mem.eql(u8, license.?, "MIT"));