Skip to content

Commit 7b668ae

Browse files
authored
Merge pull request #16 from andyalm/claude/update-which-where-commands-0cFqQ
Update where command to output project paths instead of package paths
2 parents 604c3fe + c9d7f35 commit 7b668ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CommandLine/Commands/Where.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public WhereCommand(XRepoEnvironment environment)
2828
var packageRegistration = environment.PackageRegistry.GetPackage(name)
2929
?? throw new CommandFailureException(12, $"No package with name '{name}' is registered. Have you ever built it on this machine?");
3030

31-
Console.Out.WriteList("packages", packageRegistration.Projects.OrderByDescending(p => p.Timestamp).Select(p => p.OutputPath));
31+
Console.Out.WriteList("", packageRegistration.Projects.OrderByDescending(p => p.Timestamp).Select(p => p.ProjectPath));
3232
});
3333
}
3434
}

0 commit comments

Comments
 (0)