Skip to content

Commit

Permalink
Always normalize project/solution path (#1313)
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt authored Dec 2, 2023
1 parent d61ee1b commit 3b15578
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/CommandLine/ParseHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,7 @@ public static bool TryEnsureFullPath(string path, out string result)
{
try
{
if (!Path.IsPathRooted(path))
path = Path.GetFullPath(path);

result = path;
result = Path.GetFullPath(path);
return true;
}
catch (ArgumentException ex)
Expand Down

0 comments on commit 3b15578

Please sign in to comment.