Skip to content

Commit

Permalink
remove useless comment
Browse files Browse the repository at this point in the history
format code
  • Loading branch information
jinzhongjia committed Jun 19, 2024
1 parent 0f04723 commit b0b8dc4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions src/alias.zig
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,7 @@ fn copyDir(source_dir: []const u8, dest_dir: []const u8) !void {

// try make dir
std.fs.makeDirAbsolute(dest_dir) catch |err| switch (err) {
error.PathAlreadyExists => {
// The path already exists and is a directory, nothing to do here
// std.debug.print("Versions directory already exists: {s}\n", .{version_path});
},
error.PathAlreadyExists => {},
else => {
tools.log.err("Failed to create directory: {s}", .{dest_dir});
return err;
Expand Down
1 change: 0 additions & 1 deletion src/tools.zig
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@ pub fn getZvmPathSegment(_allocator: std.mem.Allocator, segment: []const u8) ![]
&[_][]const u8{ getHome(), ".zm", segment },
);
}

0 comments on commit b0b8dc4

Please sign in to comment.