authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-07-29 04:59:39 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-07-29 04:59:39 -07:00
log4ccc4cdbc27f5f375b8056519f18e98a6e25c2a9
tree233e23b19d0d8f797687d8c72570618342fa915f
parentca3781fe4e4ff41e642ef48a21095734ca6fd585

cmd/sum- use std.fs.path.join for path joins


1 files changed, 1 insertions(+), 1 deletions(-)

src/util/module.zig+1-1
......@@ -76,7 +76,7 @@ pub const Module = struct {
7676
7777 const h = &std.crypto.hash.Blake3.init(.{});
7878 for (file_list_2.items) |item| {
79 const abs_path = try u.concat(&.{ cdpath, "/", self.clean_path, "/", item });
79 const abs_path = try std.fs.path.join(gpa, &.{ cdpath, self.clean_path, item });
8080 const file = try std.fs.cwd().openFile(abs_path, .{});
8181 defer file.close();
8282 const input = try file.reader().readAllAlloc(gpa, u.mb * 100);