Skip to content

Commit

Permalink
fix: change .zvm to .zm path
Browse files Browse the repository at this point in the history
  • Loading branch information
hendriknielaender committed Oct 23, 2023
1 parent d11e64d commit d75f127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alias.zig
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fn verifyZigVersion(allocator: std.mem.Allocator, expectedVersion: []const u8) !

fn retrieveZigVersion(allocator: std.mem.Allocator) ![]u8 {
const userHome = getUserHome();
const symlinkPath = try std.fs.path.join(allocator, &[_][]const u8{ userHome, ".zvm", "current" });
const symlinkPath = try std.fs.path.join(allocator, &[_][]const u8{ userHome, ".zm", "current" });
defer allocator.free(symlinkPath);

var childProcess = std.ChildProcess.init(&[_][]const u8{ "zig", "version" }, allocator);
Expand Down

0 comments on commit d75f127

Please sign in to comment.