| ... | @@ -96,7 +96,7 @@ fn checkCandidate( | ... | @@ -96,7 +96,7 @@ fn checkCandidate( |
| 96 | const extended_path = try std.mem.concat(arena, u8, &.{ full_path, ext }); | 96 | const extended_path = try std.mem.concat(arena, u8, &.{ full_path, ext }); |
| 97 | | 97 | |
| 98 | if (Io.Dir.cwd().access(io, extended_path, .{ .execute = true })) |_| { | 98 | if (Io.Dir.cwd().access(io, extended_path, .{ .execute = true })) |_| { |
| 99 | maker.generatedPath(found_path).* = .initCwd(extended_path); | 99 | _ = try maker.setGeneratedPath(found_path, .cwd, &.{extended_path}); |
| 100 | return true; | 100 | return true; |
| 101 | } else |err| switch (err) { | 101 | } else |err| switch (err) { |
| 102 | error.Canceled => |e| return e, | 102 | error.Canceled => |e| return e, |