Skip to content

Commit

Permalink
Fix bug in GetMetadataLocation (#464)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Gomez <segomez@microsoft.com>
  • Loading branch information
sebasgomez238 and sebasgomez238 authored Dec 14, 2023
1 parent c857ae1 commit 8d19e9f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ public RubyGemsUtils(IFileSystemUtils fileSystemUtils, ILogger logger, IRecorder

var fullGemspecPath = Path.Join(gemspecLocation, gemspecFileName);

gemspecLocation = Path.GetFullPath(fullGemspecPath);
fullGemspecPath = Path.GetFullPath(fullGemspecPath);

if (fileSystemUtils.FileExists(fullGemspecPath))
{
return gemspecLocation;
return fullGemspecPath;
}
else
{
Expand Down

0 comments on commit 8d19e9f

Please sign in to comment.