| author | |
| committer | |
| log | cc763ba5b0335a3859f042750b781690e1fba9df |
| tree | 953e084805ff31d311ccba3115c97e44f7cd8c87 |
| parent | 58e0dbf66b03395592a5f0c5acde0dfdf05a7c94 |
1 files changed, 1 insertions(+), 1 deletions(-)
src/util/funcs.zig+1-1| ... | ... | @@ -54,7 +54,7 @@ pub fn does_file_exist(fpath: []const u8) !bool { |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | pub fn does_folder_exist(fpath: []const u8) !bool { |
| 57 | const file = try std.fs.cwd().openFile(abs_path, .{}) catch |e| switch (e) { | |
| 57 | const file = std.fs.cwd().openFile(fpath, .{}) catch |e| switch (e) { | |
| 58 | 58 | error.FileNotFound => return false, |
| 59 | 59 | else => return e, |
| 60 | 60 | }; |