Skip to content

Commit

Permalink
Review from JohanMabille
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoinePrv committed Nov 21, 2023
1 parent f077505 commit 72ebf2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libmamba/src/core/pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,15 +207,15 @@ namespace mamba
// to properly manage this.
auto repo = solv::ObjRepoView(*s.raw()->repo);
// TODO Replace MatchSpec channel and subdir with a ChannelSpec
auto const chan_spec = [&]() -> std::string
const auto chan_spec = [&]() -> std::string
{
if (ms.subdir.empty())
{
return ms.channel;
}
return util::concat(ms.channel, '[', ms.subdir, ']');
}();
auto const match = channel_match(
const auto match = channel_match(
channel_context.make_channel(repo.url()),
channel_context.make_channel(chan_spec)
);
Expand Down

0 comments on commit 72ebf2f

Please sign in to comment.