Skip to content

Commit

Permalink
small rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Jxwoon committed Nov 7, 2024
1 parent af4d889 commit 38d14b2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ public override async Task ExecuteCommandAsync(IClientContext context, Cancellat
sb.Append(sourceFilePath + " to ");

// Query the destination project to retrieve its path.
IQueryResults<IProjectSnapshot> destinationFilePaths = await querySpace.QueryProjectsAsync(
IQueryResults<IProjectSnapshot> destinationProjectQueryResults = await querySpace.QueryProjectsAsync(
project => project.Where(p => p.Name == "ConsoleApp2")
.With(project => project.Path),
cancellationToken);

var destinationProject = Directory.GetParent(destinationFilePaths.First().Path!)!.ToString();
var destinationProject = Directory.GetParent(destinationProjectQueryResults.First().Path!)!.ToString();

sb.Append(destinationProject);

Expand Down

0 comments on commit 38d14b2

Please sign in to comment.