Skip to content

Commit

Permalink
Fix a double-directory name call that would screw up the directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mrixner committed Dec 19, 2024
1 parent 2191073 commit e69441e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UniGetUI.PackageEngine.Managers.Vcpkg/Vcpkg.cs
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ public static Tuple<bool, string> GetVcpkgRoot()
// Make sure the root is a valid root not just a random directory
if (found && Path.Exists($"{path}\\triplets"))
{
vcpkgRoot = Path.GetDirectoryName(path);
vcpkgRoot = path;
}
}

Expand Down

0 comments on commit e69441e

Please sign in to comment.